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

Commit 5993d68

Browse files
authored
Merge pull request #46 from github/flow-module-declaration
Include module in Flow declaration
2 parents a02d136 + 469736d commit 5993d68

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.js.flow

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* @flow strict */
22

3-
declare class DetailsDialogElement extends HTMLElement {
4-
toggle(open: boolean): void;
3+
declare module '@github/details-dialog-element' {
4+
declare export default class DetailsDialogElement extends HTMLElement {
5+
toggle(open: boolean): void;
6+
}
57
}

0 commit comments

Comments
 (0)