File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ export interface Warning {
59
59
end ?: Location ;
60
60
position ?: [ number , number ] ;
61
61
frame ?: string ;
62
+ toString ( ) : string ;
62
63
}
63
64
64
65
export interface CompileError extends InternalCompileError { }
Original file line number Diff line number Diff line change @@ -715,12 +715,14 @@ declare module 'svelte/compiler' {
715
715
}
716
716
717
717
export interface Warning {
718
- start ?: Location ;
719
- end ?: Location ;
720
- // TODO there was pos: number in Svelte 4 - do we want to add it back?
721
718
code : string ;
722
719
message : string ;
723
720
filename ?: string ;
721
+ start ?: Location ;
722
+ end ?: Location ;
723
+ position ?: [ number , number ] ;
724
+ frame ?: string ;
725
+ toString ( ) : string ;
724
726
}
725
727
726
728
export interface CompileError extends InternalCompileError { }
@@ -2542,12 +2544,14 @@ declare module 'svelte/types/compiler/interfaces' {
2542
2544
/** @deprecated import this from 'svelte' instead */
2543
2545
export type Warning = Warning_1 ;
2544
2546
interface Warning_1 {
2545
- start ?: Location ;
2546
- end ?: Location ;
2547
- // TODO there was pos: number in Svelte 4 - do we want to add it back?
2548
2547
code : string ;
2549
2548
message : string ;
2550
2549
filename ?: string ;
2550
+ start ?: Location ;
2551
+ end ?: Location ;
2552
+ position ?: [ number , number ] ;
2553
+ frame ?: string ;
2554
+ toString ( ) : string ;
2551
2555
}
2552
2556
2553
2557
type CssHashGetter = ( args : {
You can’t perform that action at this time.
0 commit comments