typescript
Property 'split' does not exist on type 'string | number | string[]'. Error
탁이2
2021. 3. 13. 00:23
Property 'split' does not exist on type 'string | number | string[]'. Error
typescript를 사용할때 문자열 자르기 같은경우는 해당 구문 앞에 .toString()을 붙여주자