Skip to content

Commit

Permalink
chore: solve ts warnings (#2339)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyib committed Dec 26, 2023
1 parent 532aa18 commit 527430a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/hooks/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
"composite": true
}
"composite": true,
"declaration": true
},
"include": ["src"]
}
3 changes: 2 additions & 1 deletion packages/use-url-state/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "src"
}
},
"include": ["src"]
}
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"ahooks": ["./packages/hooks/src/index.ts"],
"ahooks/lib/*": ["./packages/hooks/src/*"],
"@ahooksjs/use-url-state": ["./packages/use-url-state/src/index.ts"]
},
"allowSyntheticDefaultImports": true,
Expand Down

0 comments on commit 527430a

Please sign in to comment.