Skip to content

Commit

Permalink
remove union to tuple type
Browse files Browse the repository at this point in the history
  • Loading branch information
rawpixel-vincent committed Aug 31, 2024
1 parent 99e826a commit a0d636b
Show file tree
Hide file tree
Showing 7 changed files with 413 additions and 64 deletions.
12 changes: 10 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"lib": ["ESNext", "DOM"],
"moduleResolution": "nodenext",
"resolveJsonModule": false,
"esModuleInterop": false,
"esModuleInterop": true,
"checkJs": true,
"skipLibCheck": false,
"skipDefaultLibCheck": false,
"allowJs": true,
"traceResolution": false,
"allowSyntheticDefaultImports": true
Expand All @@ -22,5 +23,12 @@
"StringLiteralList.js",
"stringListFunction.js"
],
"exclude": ["node_modules", "*.cjs", "**/*.cjs", "*.min.js", "**/*.min.js"]
"exclude": [
"node_modules/punycode/punycode.js",
"node_modules",
"*.cjs",
"**/*.cjs",
"*.min.js",
"**/*.min.js"
]
}
1 change: 1 addition & 0 deletions jsconfig.tsbuildinfo

Large diffs are not rendered by default.

23 changes: 19 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"scripts": {
"test": "npm run lint:ci && npm run test:checkJs && npm run test:unit",
"test:unit": "NODE_ENV=test tap run",
"test:checkJs": "tsc --checkJs --project ./jsconfig.json",
"test:checkJs": "./node_modules/.bin/tsc --checkJs --project jsconfig.json",
"prettier": "prettier --write \"**/*.{js,ts}\"",
"lint": "eslint --fix \"./*.js\"",
"lint:ci": "eslint . --ext .js",
Expand Down Expand Up @@ -72,6 +72,6 @@
"husky": "latest",
"prettier": "latest",
"tap": "latest",
"typescript": "latest"
"typescript": "5.5.4"
}
}
Loading

0 comments on commit a0d636b

Please sign in to comment.