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

explicitly export types #36

Merged
merged 3 commits into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 };
sndrs marked this conversation as resolved.
Show resolved Hide resolved
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