Skip to content

Commit 51b24b9

Browse files
committed
fix type generation
1 parent f5a23ea commit 51b24b9

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// i'm here so type generation doesn't get mad
2+
// TODO do we need to type this?

packages/svelte/types/index.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,6 +2548,17 @@ declare module 'svelte/events' {
25482548
export {};
25492549
}
25502550

2551+
declare module 'svelte/devtool' {
2552+
export interface Config {
2553+
position: 'top'|'bottom'
2554+
}
2555+
export function configure(options: Partial<Config>): void;
2556+
2557+
export function getConfig(): Config;
2558+
2559+
export {};
2560+
}
2561+
25512562
declare module 'svelte/types/compiler/preprocess' {
25522563
/** @deprecated import this from 'svelte/preprocess' instead */
25532564
export type MarkupPreprocessor = MarkupPreprocessor_1;

0 commit comments

Comments
 (0)