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

Commit

Permalink
Merge pull request #36 from guardian/explicit-type-export
Browse files Browse the repository at this point in the history
explicitly export types
  • Loading branch information
sndrs authored Dec 10, 2020
2 parents 007f250 + f8b285a commit 40896dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@ interface Format {

// ----- Exports ----- //

export { Pillar, Special, Theme, Design, Display };

export type { Format };
export type { Theme, Format };
export { Pillar, Special, Design, Display };
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ----- Types ----- //

export type { Format } from './format';
export { Pillar, Special, Theme, Design, Display } from './format';
export type { Theme, Format } from './format';
export { Pillar, Special, Design, Display } from './format';

export type {
OphanABEvent,
Expand Down
2 changes: 1 addition & 1 deletion src/ophan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ type TestMeta = {
products?: OphanProduct[];
};

export {
export type {
OphanABEvent,
OphanABPayload,
OphanAction,
Expand Down

0 comments on commit 40896dc

Please sign in to comment.