mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[storybook] upgrade to 6.3.x (#119498)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
59eb8ea299
commit
ac23dce29f
12 changed files with 1212 additions and 1339 deletions
24
typings/index.d.ts
vendored
24
typings/index.d.ts
vendored
|
@ -38,3 +38,27 @@ declare module 'react-syntax-highlighter/dist/cjs/prism-light';
|
|||
declare module 'monaco-editor/esm/vs/basic-languages/markdown/markdown';
|
||||
declare module 'monaco-editor/esm/vs/basic-languages/css/css';
|
||||
declare module 'monaco-editor/esm/vs/basic-languages/yaml/yaml';
|
||||
|
||||
// Storybook uses this module and its types are defined in the source but not in the type output
|
||||
declare module 'file-system-cache' {
|
||||
interface Options {
|
||||
basePath?: string;
|
||||
ns?: string | string[];
|
||||
extension?: string;
|
||||
}
|
||||
|
||||
class FileSystemCache {
|
||||
constructor(options: Options);
|
||||
path(key: string): string;
|
||||
fileExists(key: string): Promise<boolean>;
|
||||
ensureBasePath(): Promise<void>;
|
||||
get(key: string, defaultValue?: any): Promise<any | typeof defaultValue>;
|
||||
getSync(key: string, defaultValue?: any): any | typeof defaultValue;
|
||||
set(key: string, value: any): Promise<{ path: string }>;
|
||||
setSync(key: string, value: any): this;
|
||||
remove(key: string): Promise<void>;
|
||||
clear(): Promise<void>;
|
||||
save(): Promise<{ paths: string[] }>;
|
||||
load(): Promise<{ files: Array<{ path: string; value: any }> }>;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue