mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 07:01:27 +08:00
Addon-knobs: straight rename js => ts
This commit simply transitions the files from js to ts to make the commit history clearer afterwards. Expected not to type-check.
This commit is contained in:
parent
29d9924ce4
commit
dfbf5d9cb5
@ -17,7 +17,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "dist/index.js",
|
||||
"jsnext:main": "src/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
|
13
addons/knobs/tsconfig.json
Normal file
13
addons/knobs/tsconfig.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["webpack-env"]
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"src/__tests__/**/*"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user