diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fc0904..a95d989 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '16' + node-version: '18' - name: Cache node_modules uses: actions/cache@v2 env: diff --git a/tsconfig.json b/tsconfig.json index 7db5e3d..a0ed304 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "lib": ["dom", "dom.iterable", "esnext"], "strict": true, "noEmit": true, - "module": "CommonJS", + "module": "esnext", "moduleResolution": "node", "isolatedModules": true, "allowSyntheticDefaultImports": true