Created
August 10, 2018 08:09
-
-
Save MonsieurMan/43d2b58a8f58ad17763af0307a2ecfdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare global { | |
// This is actually merging to the HTMLElement DOM Interface | |
interface HTMLElement { | |
componentOnReady?: () => Promise<this | null>; | |
} | |
interface HTMLStencilElement extends HTMLElement { | |
componentOnReady(): Promise<this>; | |
forceUpdate(): void; | |
} | |
namespace StencilComponents { | |
interface Adder { } | |
} | |
interface HTMLAdderElement extends StencilComponents.Adder, HTMLStencilElement { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment