Skip to content

Commit 0b7ff00

Browse files
committed
fix: update TypeScript
Fix unused value error
1 parent 8a32561 commit 0b7ff00

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"jison-gho": "0.6.1-216",
4040
"postcss": "^8.5.3",
4141
"prettier": "^3.5.3",
42-
"typescript": "~5.8.3"
42+
"typescript": "~6.0.3"
4343
},
4444
"dependencies": {
4545
"postcss-selector-parser": "^7.1.0",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/transform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function transformSelector(value, options, result, item) {
7979
* @param {import("postcss").Result} result
8080
*/
8181
module.exports = (node, property, options, result) => {
82-
let value = node[property];
82+
let value;
8383

8484
try {
8585
value =

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"emitDeclarationOnly": true,
1010
"noEmitOnError": true,
1111
"newLine": "lf",
12+
"rootDir": "./src",
1213
"outDir": "types",
1314
"allowSyntheticDefaultImports": true,
1415
"forceConsistentCasingInFileNames": true,

0 commit comments

Comments
 (0)