fix ts type error

This commit is contained in:
duanfuxiang
2025-01-06 13:51:41 +08:00
parent aa4bcf326d
commit c8bf0d263c
5 changed files with 18 additions and 10 deletions

View File

@@ -65,10 +65,10 @@
/* Module Resolution Paths
* Custom path mappings for module resolution
*/
"paths": {
"@codemirror/*": ["node_modules/@codemirror/*"], // Map CodeMirror imports
"*": ["node_modules/*", "src/types/*"] // Fallback paths for module resolution
}
// "paths": {
// "@codemirror/*": ["node_modules/@codemirror/*"], // Map CodeMirror imports
// "*": ["node_modules/*", "src/types/*"] // Fallback paths for module resolution
// }
},
// Specify which files to include in compilation
"include": ["src/**/*.ts", "src/**/*.tsx", "__mocks__"]