-
Notifications
You must be signed in to change notification settings - Fork 184
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 #408 from jecraig/407-fix
Made the exports into explicitly types
- Loading branch information
Showing
4 changed files
with
18 additions
and
17 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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { SpacetimeStatic } from './constructors' | ||
import type { SpacetimeStatic } from './constructors' | ||
|
||
declare const spacetime: SpacetimeStatic | ||
|
||
// We need to use a single default export here so everything lines up with the actual imported object from JS | ||
export default spacetime | ||
|
||
export * from './constructors' | ||
export * from './constraints' | ||
export * from './types' | ||
export { SpacetimeConstructor, SpacetimeConstructorOptions, SpacetimeStatic } from './constructors' | ||
export { Format, I18nOptions, TimeUnit } from './constraints' | ||
export { Spacetime, Diff, ParsableDate, Progress, Since, TimezoneMeta, TimezoneSet } from './types' |
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