diff options
Diffstat (limited to 'src/global.d.ts')
-rw-r--r-- | src/global.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/global.d.ts b/src/global.d.ts new file mode 100644 index 0000000..0988c71 --- /dev/null +++ b/src/global.d.ts @@ -0,0 +1,6 @@ +declare namespace svelteHTML { + interface HTMLAttributes<T> { + 'on:in'?: (event: CustomEvent) => void + 'on:out'?: (event: CustomEvent) => void + } +} |