Skip to content

Commit f75ee7f

Browse files
committed
Reproduce @tje's issue
1 parent 785ec68 commit f75ee7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ echo "{}" >test/tmp/package.json
4343
(cd test/tmp && npm install "../../assets/${TARBALL}")
4444
(cd test/tmp && node --input-type=module -e 'import {Hsluv} from "hsluv"; console.log("ESM OK")')
4545
(cd test/tmp && node --input-type=commonjs -e 'const {Hsluv} = require("hsluv"); console.log("CommonJS OK")')
46+
(cd test/tmp && echo 'import {Hsluv} from "hsluv";' > test.ts && npx tsc --strict true test.ts && echo "default tsc OK")
47+
(cd test/tmp && echo 'import {Hsluv} from "hsluv";' > test.ts && npx tsc --strict true --module ES2020 --moduleResolution node16 test.ts && echo "node tsc OK")

0 commit comments

Comments
 (0)