-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from github/add-flow-definition-file
Add flow definition file
- Loading branch information
Showing
5 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* flow strict */ | ||
|
||
declare module 'time-elements' { | ||
declare class ExtendedTimeElement extends HTMLElement { | ||
getFormattedTitle(): ?string; | ||
getFormattedDate(): ?string; | ||
} | ||
|
||
declare export class LocalTimeElement extends ExtendedTimeElement { | ||
getFormattedDate(): ?string; | ||
} | ||
|
||
declare export class RelativeTimeElement extends ExtendedTimeElement { | ||
getFormattedDate(): ?string; | ||
} | ||
|
||
declare export class TimeAgoElement extends RelativeTimeElement { | ||
getFormattedDate(): ?string; | ||
} | ||
|
||
declare export class TimeUntilElement extends RelativeTimeElement { | ||
getFormattedDate(): ?string; | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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