- 목차 -

ts(typescript) 파일을 빈파일로 추가하면 발생하는 에러입니다. 파일에 export {} 을 써줍니다.

'index.tsx' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.