tdesign-react/tsconfig.dev.json
wū yāng ddb6807b83
docs: add TypeScript demos (#2871)
* docs: add typescript demo

* fix(component): add typo

* ci("tsconfig.build.json"): fix ci test

* test(test file): fix test path

* docs: 更新 tsx demo 类型定义

* fix(all components): fix all components

* chore(icon): change icon example type

* chore: change tsconfig build json deploy

* test: update test snapshot

* chore: sync develop

* chore: exclude js demo

* chore: remove ts nocheck

* chore: action check typescript demo type as well

* chore: add tsconfig for develop and demo

* chore: complete type

* chore: revert config

* chore: update common

* chore: update common

* chore: update common

* chore: codesandbox preview

* chore: codesandbox and stackblitz adjust to typescript

* chore: type keyword

* chore: change type keyword

---------

Co-authored-by: HaixingOoO <974758671@qq.com>
Co-authored-by: zwkang <kang95630@gmail.com>
Co-authored-by: Heising <heising@travelconnect.cn>
2024-06-25 11:39:04 +08:00

28 lines
489 B
JSON

{
"extends": "./tsconfig",
"include": [
"./src",
"./globals.d.ts"
],
"exclude": [
"**/**/__tests__/*",
"**/**/_example-js/*",
"**/config-provider/_example/*",
"**/**/_usage/*",
"node_modules",
"src/_common",
"dist",
"lib",
"esm",
"cjs",
"es"
],
"compilerOptions": {
"declaration": false,
"paths": {
"tdesign-react": ["src"],
"@test/utils": ["test/utils"],
"@common/*": ["src/_common/*"]
},
}
}