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

Commit

Permalink
const enums cant be type exports
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Dec 4, 2020
1 parent 68dbbb6 commit f8b285a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ interface Format {

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

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

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

export type {
OphanABEvent,
Expand All @@ -13,7 +14,7 @@ export type {
TestMeta,
} from './ophan';

export type { Role } from './role';
export { Role } from './role';

export type { Option } from './option';
export {
Expand Down
2 changes: 1 addition & 1 deletion src/role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ const enum Role {

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

export type { Role };
export { Role };

0 comments on commit f8b285a

Please sign in to comment.