From 6aec7a28f9c94dee3c1563fc22c99c5c29bd4ba1 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 12 Sep 2019 10:25:58 +0100 Subject: [PATCH 1/2] types(ts): add window declaration --- index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.d.ts b/index.d.ts index 0eb974b..c73ef69 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2,3 +2,9 @@ export default class TaskListsElement extends HTMLElement { disabled: boolean sortable: boolean } + +declare global { + interface Window { + TaskListsElement: TaskListsElement + } +} From 9f519621559c4c072f2b0b9e331f9ee1b0ff1ff5 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 12 Sep 2019 10:42:15 +0100 Subject: [PATCH 2/2] types(ts): fix window declaration type --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c73ef69..1e950d5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,6 +5,6 @@ export default class TaskListsElement extends HTMLElement { declare global { interface Window { - TaskListsElement: TaskListsElement + TaskListsElement: typeof TaskListsElement } } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy