diff --git a/packages/dom-expressions/src/client.d.ts b/packages/dom-expressions/src/client.d.ts index 2a155728..cf9a4a8c 100644 --- a/packages/dom-expressions/src/client.d.ts +++ b/packages/dom-expressions/src/client.d.ts @@ -25,7 +25,7 @@ export function delegateEvents(eventNames: string[], d?: Document): void; export function clearDelegatedEvents(d?: Document): void; export function spread( node: Element, - accessor: (() => T) | T, + accessor: T, isSVG?: Boolean, skipChildren?: Boolean ): void; diff --git a/packages/dom-expressions/src/server.d.ts b/packages/dom-expressions/src/server.d.ts index 6d39b01a..ee1b3904 100644 --- a/packages/dom-expressions/src/server.d.ts +++ b/packages/dom-expressions/src/server.d.ts @@ -129,7 +129,7 @@ export function insert( /** @deprecated not supported on the server side */ export function spread( node: Element, - accessor: (() => T) | T, + accessor: T, isSVG?: Boolean, skipChildren?: Boolean ): void;