Skip to content

Commit

Permalink
remove esModuleInterop and use a namespace import
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Aug 8, 2024
1 parent efd549f commit 8447f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/_common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as gdal from 'gdal-async'
import structuredClone from '@ungap/structured-clone'
import * as structuredClone from '@ungap/structured-clone'

console.log(`GDAL Version: ${gdal.version}, source: ${gdal.bundled ? 'bundled' : 'system library'}`)
if (!('structuredClone' in globalThis)) {
Expand Down
3 changes: 1 addition & 2 deletions test/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"downlevelIteration": true,
"strict": true,
"strictNullChecks": true,
"esModuleInterop": true
"strictNullChecks": true
}
}

0 comments on commit 8447f4d

Please sign in to comment.