We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6cc764 commit 742d4a7Copy full SHA for 742d4a7
types/index.d.ts
@@ -15,15 +15,15 @@ type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
15
* Render a Component into the Document.
16
*/
17
export type RenderResult<Q extends Queries = typeof queries> = {
18
- container: HTMLElement
+ container: Element
19
component: SvelteComponent
20
- debug: (el?: HTMLElement | DocumentFragment) => void
+ debug: (el?: Element | DocumentFragment) => void
21
rerender: (options: SvelteComponentOptions) => void
22
unmount: () => void
23
} & { [P in keyof Q]: BoundFunction<Q[P]> }
24
25
export interface RenderOptions<Q extends Queries = typeof queries> {
26
- container?: HTMLElement
+ container?: Element
27
queries?: Q
28
}
29
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments