Skip to content

Commit 48cacc5

Browse files
shreyassanthu77FilledStacks
authored andcommitted
improved TypeScript experience
1 parent 6ec6e90 commit 48cacc5

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"typescript.tsdk": "node_modules\\typescript\\lib"
3+
}

package-lock.json

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

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
"tailwindcss": "^3.2.4"
2727
},
2828
"devDependencies": {
29-
"@docusaurus/module-type-aliases": "^2.2.0"
29+
"@docusaurus/module-type-aliases": "^2.2.0",
30+
"@docusaurus/types": "^2.2.0",
31+
"@tsconfig/docusaurus": "^1.0.6",
32+
"@types/react": "^18.0.26",
33+
"typescript": "^4.9.4"
3034
},
3135
"browserslist": {
3236
"production": [

tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "@tsconfig/docusaurus/tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "."
5+
}
6+
}

0 commit comments

Comments
 (0)