
augmentations for the global scope can only be directly nested in external modules ts(2669)
- declare global 사용 시 external/ambient 모듈 둘 중 하나를 사용해야 한다.

- 실제 사용 할 모듈을 불러오거나 export {} 등을 사용하여 import/export 둘 중 하나를 선언해야한다.


'기타 > 에러' 카테고리의 다른 글
Error: error:1E08010C:DECODER routines::unsupported (1) | 2023.01.06 |
---|---|
TypeError: Class constructor Model cannot be invoked without 'new' (0) | 2022.06.06 |
ReferenceError: __dirname is not defined (0) | 2022.04.09 |
error: Cannot set headers after they are sent to the client (0) | 2022.02.27 |