Skip to content

Commit f1e84e1

Browse files
Apply suggestions from code review
Co-authored-by: Simon H <[email protected]>
1 parent da84ae9 commit f1e84e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/svelte/svelte-html.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/// <reference lib="dom" />
2+
// This file is deliberately not exposed through the exports map.
3+
// It's meant to be loaded directly by the Svelte language server
24
/* eslint-disable @typescript-eslint/no-empty-interface */
35

46
import * as svelteElements from './elements';
@@ -241,7 +243,7 @@ declare global {
241243
'svelte:body': HTMLProps<'svelte:body', HTMLAttributes>;
242244
'svelte:document': HTMLProps<'svelte:document', HTMLAttributes>;
243245
'svelte:fragment': { slot?: string };
244-
'svelte:options': { [name: string]: any };
246+
'svelte:options': HTMLProps<'svelte:options', HTMLAttributes>;
245247
'svelte:head': { [name: string]: any };
246248

247249
[name: string]: { [name: string]: any };

0 commit comments

Comments
 (0)