refactor: use tw5-typed

This commit is contained in:
tiddlygit-test 2022-02-07 00:14:52 +08:00
parent 55075edaa3
commit a1fe6d5072
5 changed files with 275 additions and 156 deletions

View file

@ -55,7 +55,7 @@
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
"types": ["reflect-metadata"] /* Type declaration files to be included in compilation. */,
"types": ["reflect-metadata", "tw5-typed"] /* Type declaration files to be included in compilation. */,
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
"resolveJsonModule": true,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,