Skip to content

Commit df2c772

Browse files
committed
common/index: export type to resolve type error
1 parent 79340a5 commit df2c772

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/types/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Types should be defined in their own portions of the codebase and exported here.
33

44
// SERVER SHARED TYPES:
5-
export {
5+
export type {
66
SanitisedApiKey,
77
IApiKey as ApiKey,
88
ApiKeyResponseOrError,
@@ -13,9 +13,9 @@ export {
1313

1414
export * from '../../server/types/email';
1515

16-
export { Error, GenericResponseBody } from '../../server/types/express';
16+
export type { Error, GenericResponseBody } from '../../server/types/express';
1717

18-
export {
18+
export type {
1919
User,
2020
PublicUser,
2121
PublicUserOrError,

0 commit comments

Comments
 (0)