build(desktop): fix typescript error (#1013)

This commit is contained in:
Himself65
2023-02-14 23:25:30 -06:00
committed by GitHub
parent 5c505807b4
commit 6906d6ba7a
3 changed files with 187 additions and 1 deletions

View File

@@ -15,12 +15,14 @@
"build:app": "tauri build"
},
"dependencies": {
"@blocksuite/icons": "^2.0.14",
"@blocksuite/store": "0.4.0-20230212194855-047e1b9",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@tauri-apps/api": "^1.2.0",
"json-schema-to-typescript": "^11.0.2",
"lib0": "^0.2.58",
"next": "^13.1.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",

View File

@@ -21,7 +21,12 @@
"experimentalDecorators": true,
"isolatedModules": true,
"skipLibCheck": true,
"noImplicitReturns": true
"noImplicitReturns": true,
"paths": {
"@/*": ["../web/src/*"],
"@affine/component": ["../../packages/component/src/index"],
"@affine/i18n": ["../../packages/i18n/src/index"]
}
},
"include": ["./src"],
"exclude": ["node_modules"]