We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 785ec68 commit f75ee7fCopy full SHA for f75ee7f
build.sh
@@ -43,3 +43,5 @@ echo "{}" >test/tmp/package.json
43
(cd test/tmp && npm install "../../assets/${TARBALL}")
44
(cd test/tmp && node --input-type=module -e 'import {Hsluv} from "hsluv"; console.log("ESM OK")')
45
(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