ZNTC0301: 'import' declaration must be at the top level
ZNTC0301
섹션 제목: “ZNTC0301”‘import’ declaration must be at the top level
카테고리: 파서: import/export
재현 코드
섹션 제목: “재현 코드”function f() { import { x } from "y"; }해결 방법
섹션 제목: “해결 방법”이 에러의 원인과 해결 방법은 에러 메시지를 참고하세요.