From 30181dec4624365392759ee88e404a6222e6b44a Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Tue, 13 Oct 2020 18:26:29 +0530 Subject: [PATCH] Allow hydratable option in TypeScript Docs: https://svelte.dev/docs#Creating_a_component --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.d.ts b/index.d.ts index 2bfd935..1db6f38 100644 --- a/index.d.ts +++ b/index.d.ts @@ -82,6 +82,13 @@ interface Options { */ customElement?: boolean; + + /** + * Upgrade existing DOM rather than creating new elements + * @default false + */ + hydratable?: boolean; + /** * let Rollup handle all other warnings normally */