mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2025-02-05 17:19:33 +08:00
fix tsconfig to emit declaration files
This commit is contained in:
parent
5a4d58c44a
commit
28f556de09
@ -20,7 +20,9 @@
|
||||
"noUnusedParameters": true,
|
||||
"baseUrl": "./",
|
||||
"jsx": "react-jsx",
|
||||
"rootDir": "src"
|
||||
"rootDir": "src",
|
||||
"declaration": true,
|
||||
"declarationDir": "lib"
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
|
@ -6,7 +6,9 @@
|
||||
"lib": ["es6"],
|
||||
"composite": true,
|
||||
"rootDir": "src",
|
||||
"module": "ESNext"
|
||||
"module": "ESNext",
|
||||
"declaration": true,
|
||||
"declarationDir": "lib"
|
||||
},
|
||||
"include": ["src/**/*.ts"],
|
||||
"exclude": ["__tests__/**/*.ts"]
|
||||
|
@ -20,7 +20,9 @@
|
||||
"noUnusedParameters": true,
|
||||
"baseUrl": "./",
|
||||
"jsx": "react-jsx",
|
||||
"rootDir": "src"
|
||||
"rootDir": "src",
|
||||
"declaration": true,
|
||||
"declarationDir": "lib"
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
|
@ -20,7 +20,9 @@
|
||||
"noUnusedParameters": true,
|
||||
"baseUrl": "./",
|
||||
"jsx": "react-jsx",
|
||||
"rootDir": "src"
|
||||
"rootDir": "src",
|
||||
"declaration": true,
|
||||
"declarationDir": "lib"
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user