fix(types): export CompileResult and Warning (#12212)

* fix(types): export CompileResult and Warning

* fix: regenerate types
pull/12223/head
Dominik G 6 months ago committed by GitHub
parent d3111db1ef
commit 266f66958b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"svelte": patch
---
fix(types): export CompileResult and Warning

@ -5,4 +5,4 @@ export type {
PreprocessorGroup,
Processed
} from './preprocess/public';
export type { CompileOptions, ModuleCompileOptions } from './types/index';
export type { CompileOptions, ModuleCompileOptions, CompileResult, Warning } from './types/index';

@ -1893,7 +1893,7 @@ declare module 'svelte/compiler' {
attributes: Attribute[];
}
export { MarkupPreprocessor, Preprocessor, PreprocessorGroup, Processed, CompileOptions, ModuleCompileOptions, compile, compileModule, parse, walk, preprocess, CompileError, VERSION, migrate };
export { MarkupPreprocessor, Preprocessor, PreprocessorGroup, Processed, CompileOptions, ModuleCompileOptions, CompileResult, Warning, compile, compileModule, parse, walk, preprocess, CompileError, VERSION, migrate };
}
declare module 'svelte/easing' {

Loading…
Cancel
Save