mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
App-html: straight rename js => ts
This commit is contained in:
parent
32d3d476c4
commit
f530ef2dca
@ -16,6 +16,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "dist/client/index.js",
|
||||
"types": "dist/client/index.d.ts",
|
||||
"bin": {
|
||||
"build-storybook": "./bin/build.js",
|
||||
"start-storybook": "./bin/index.js",
|
||||
|
4
app/html/src/typings.d.ts
vendored
Normal file
4
app/html/src/typings.d.ts
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
declare module 'global';
|
||||
declare module '*.json';
|
||||
declare module '@storybook/core/client';
|
||||
declare module '@storybook/core/server';
|
9
app/html/tsconfig.json
Normal file
9
app/html/tsconfig.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"types": ["webpack-env"]
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["src/__tests__/**/*"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user