From 44efd0faf5d22922fcd538868378d08e0172d9a7 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Wed, 15 Mar 2023 17:32:21 +0100 Subject: [PATCH] types --- elements/index.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/elements/index.d.ts b/elements/index.d.ts index 72a077a7d5..4ad2f2880f 100644 --- a/elements/index.d.ts +++ b/elements/index.d.ts @@ -534,13 +534,17 @@ export interface HTMLAttributes extends AriaAttributes, D is?: string | undefined | null; /** - * Elements with the contenteditable attribute support innerHTML and textContent bindings. + * Elements with the contenteditable attribute support `innerHTML`, `textContent` and `innerText` bindings. */ 'bind:innerHTML'?: string | undefined | null; /** - * Elements with the contenteditable attribute support innerHTML and textContent bindings. + * Elements with the contenteditable attribute support `innerHTML`, `textContent` and `innerText` bindings. */ 'bind:textContent'?: string | undefined | null; + /** + * Elements with the contenteditable attribute support `innerHTML`, `textContent` and `innerText` bindings. + */ + 'bind:innerText'?: string | undefined | null; // SvelteKit 'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;