-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(TS): TS2339: Property strip does not exist on type when the TS co…
…mpiler option `module` is `node16`
- Loading branch information
Showing
18 changed files
with
382 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"jsc": { | ||
"target": "ES6", | ||
"parser": { | ||
"syntax": "typescript", // or "ecmascript" if you're using plain JavaScript | ||
"tsx": false, // set to true if using React/TSX | ||
"decorators": true // set to true if using decorators | ||
} | ||
}, | ||
"module": { | ||
"type": "commonjs", // Default to ES modules | ||
"strict": true, // Enable strict ES module output | ||
"noInterop": true // Disable interop for default and named exports | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
isSupported: [38;5;192mtrue[39m | ||
bgAnsi256: [48;5;127m1993[49m | ||
bgAnsi256: [48;5;21mtrue[49m | ||
[38;2;255;255;0mHello[39m, [31mWorld[39m! | ||
[31mred[39m | ||
Hello World! | ||
[31mdefault: red[39m | ||
[96mdefault: cyanBright[39m | ||
[38;2;255;117;209mextended: pink[39m | ||
[38;2;255;171;64mextended: orange[39m | ||
[38;2;79;168;61m[3mextended color: apple italic[23m[39m | ||
[31mdestructured default color: red[39m | ||
[38;2;255;117;209mdestructured extended color: pink[39m | ||
[38;2;255;171;64m[3mdestructured extended color: orange italic[23m[39m | ||
[38;2;255;117;209m[4mextended chained color: pink underline[24m[39m | ||
[38;2;255;117;209m[4mdestructured extended chained color: pink underline[24m[39m | ||
[90mgray[39m | ||
[100m bgGray [49m | ||
[106m[93m bgCyanBright [39m[49m | ||
[107m[3m bgWhiteBright [23m[49m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"type": "module", | ||
"scripts": { | ||
"check": "rimraf --glob dist/*.* && tsc", | ||
"build": "rimraf --glob dist/*.* && tsc && node dist/index.js --color=true > dist/index.out", | ||
"build:swc": "rimraf --glob dist/*.* && swc ./src -d dist && node dist/index.js --color=true > dist/index.out", | ||
"build:esbuild": "rimraf --glob dist/*.* && esbuild src/index.ts --bundle --outfile=dist/index.js && node dist/index.js --color=true > dist/index.out", | ||
"view": "node ./dist/index.js" | ||
} | ||
} |
Oops, something went wrong.