mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:11:07 +08:00
Add reference to webpack types
This commit is contained in:
parent
34b5cd57c4
commit
6b8a0bba79
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
import type { AnyFramework, DecoratorFunction } from '@storybook/csf';
|
||||
import deprecate from 'util-deprecate';
|
||||
import { dedent } from 'ts-dedent';
|
||||
|
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
export * from './constants';
|
||||
export * from './models';
|
||||
export * from './preview';
|
||||
|
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
if (module && module.hot && module.hot.decline) {
|
||||
module.hot.decline();
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
import { addons } from '@storybook/addons';
|
||||
import { normalize, sep } from 'upath';
|
||||
import { ADD_TESTS, defineJestParameter } from './shared';
|
||||
|
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
import { dedent } from 'ts-dedent';
|
||||
|
||||
let hasWarned = false;
|
||||
|
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
if (module && module.hot && module.hot.decline) {
|
||||
module.hot.decline();
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
if (module && module.hot && module.hot.decline) {
|
||||
module.hot.decline();
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
/// <reference types="webpack-env" />
|
||||
|
||||
import { ADDON_ID, PANEL_ID } from './events';
|
||||
|
||||
export { ADDON_ID, PANEL_ID };
|
||||
|
Loading…
x
Reference in New Issue
Block a user