Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #45 from github/types-ts-add-window-declaration
Browse files Browse the repository at this point in the history
Add TS window declaration for DetailsDialogElement
  • Loading branch information
keithamus authored Sep 12, 2019
2 parents 490ea50 + 25fc07e commit c499949
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
export default class DetailsDialogElement extends HTMLElement {
toggle(open: boolean): void;
}

declare global {
interface Window {
DetailsDialogElement: typeof DetailsDialogElement
}
}

0 comments on commit c499949

Please sign in to comment.