Skip to content

Commit 0b7454a

Browse files
author
Rajat Saxena
committed
Fix typescript types
1 parent 55ac0d8 commit 0b7454a

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/text-editor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
},
5656
"devDependencies": {
5757
"@types/node": "^18.8.0",
58+
"@types/react": "^17.0.43",
5859
"eslint": "^8.57.0",
5960
"rimraf": "^4.1.1",
6061
"tsconfig": "workspace:^",

packages/text-editor/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"outDir": "./dist",
66
"lib": ["dom"],
77
"strict": false,
8-
"experimentalDecorators": false
8+
"experimentalDecorators": false,
9+
"paths": {
10+
"react": ["./node_modules/@types/react"]
11+
}
912
},
1013
"include": ["src/**/*"]
1114
}

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,7 @@ __metadata:
18371837
"@remirror/react-editors": ^2.0.1
18381838
"@remirror/react-ui": ^1.0.1
18391839
"@types/node": ^18.8.0
1840+
"@types/react": ^17.0.43
18401841
codemirror: ^6.0.1
18411842
eslint: ^8.57.0
18421843
remirror: ^3.0.1

0 commit comments

Comments
 (0)