Files
ComfyUI_frontend/tsconfig.json
Chenlei Hu 74abc34624 Migrate domWidget from js to ts (#3)
* Rename js to ts

* Migrate domWidget.js

* Fix global declare
2024-06-13 23:57:14 -04:00

28 lines
649 B
JSON

{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
"sourceMap": true,
"esModuleInterop": true,
"moduleResolution": "Classic",
/* Linting */
"strict": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
/* AllowJs during migration phase */
"allowJs": true,
"baseUrl": ".",
"paths": {
"*": ["src/*"],
},
"typeRoots": ["src/types", "node_modules/@types"]
},
"include": ["src/**/*", "src/types/**/*.d.ts"],
}