Skip to content

Commit

Permalink
feat(types): Export types (#8)
Browse files Browse the repository at this point in the history
This is helpful for annotating helper functions etc. in consumer code.
We're already using these types in our public interface but they're not
named.

Apparently you can't use `export type *` so this just names our existing
types. This might be safer if we add some internal types but it'll make
it easy to forget new types in the future.
  • Loading branch information
etaoins authored Jul 21, 2020
1 parent 7fb4c45 commit 2627f5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/fakeHr.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
export * as competencies from './competencies';
export * as education from './education';
export type {
CountryCode,
EducationInstitution,
EducationLevel,
EducationQualification,
} from './types';

0 comments on commit 2627f5c

Please sign in to comment.