diff --git a/types/preact-custom-element/index.d.ts b/types/preact-custom-element/index.d.ts index d2f6cf90ed0374..52de10e7fea276 100644 --- a/types/preact-custom-element/index.d.ts +++ b/types/preact-custom-element/index.d.ts @@ -9,7 +9,7 @@ declare function register( componentDefinition: FunctionComponent | ComponentClass | FunctionalComponent, tagName?: string, observedAttributes?: string[], - options?: { shadow: boolean }, + options?: { shadow: boolean, mode: string }, ): void; export = register;