Skip to content

Commit 13f258f

Browse files
authored
Merge branch 'main' into fix-removing-ownership
2 parents e575045 + 12d939c commit 13f258f

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
lines changed

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = {
77
'ts-jest',
88
{
99
diagnostics: false,
10-
isolatedModules: true,
1110
},
1211
],
1312
},

src/commands/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export const sendEmailCommands = {
1919
ownerAgreementInvite,
2020
};
2121

22-
export {Command} from './command';
23-
export {SendEmail} from './send-email';
22+
export type {Command} from './command';
23+
export type {SendEmail} from './send-email';

src/queries/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export {dumpSharedDbAsJson, dumpSharedDbAsBuffer} from './debug';
1717
export {domainEvents} from './domain-events';
1818
export {troubleTickets} from './trouble-tickets';
1919
export {logGoogleJson} from './log-google';
20-
export {Query} from './query';
20+
export type {Query} from './query';

src/read-models/members/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export const members = {
99
getFailedImports,
1010
};
1111

12-
export {FailedLinking} from './failed-linking';
13-
export {Member} from './return-types';
12+
export type {FailedLinking} from './failed-linking';
13+
export type {Member} from './return-types';

src/types/index.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
export {EmailAddress, EmailAddressCodec} from './email-address';
2-
export {Failure, failure} from './failure';
3-
export {Email} from './email';
1+
export type {EmailAddress} from './email-address';
2+
export {EmailAddressCodec} from './email-address';
3+
export type {Failure} from './failure';
4+
export {failure} from './failure';
5+
export type {Email} from './email';
46
export {User} from './user';
57
export {Actor} from './actor';
68
export {HttpResponse} from './html';
7-
export {GravatarHash, isoGravatarHash} from './gravatar-hash';
9+
export type {GravatarHash} from './gravatar-hash';
10+
export {isoGravatarHash} from './gravatar-hash';
811
export {
912
DomainEvent,
1013
isEventOfType,
1114
constructEvent,
12-
SubsetOfDomainEvent,
1315
filterByName,
1416
} from './domain-event';
15-
export {ResourceVersion} from './resource-version';
17+
export type {SubsetOfDomainEvent} from './domain-event';
18+
export type {ResourceVersion} from './resource-version';

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"forceConsistentCasingInFileNames": true,
1919
"composite": true,
2020
"allowUnusedLabels": false,
21-
"allowUnreachableCode": false
21+
"allowUnreachableCode": false,
22+
"isolatedModules": true
2223
},
2324
"include": [
2425
"src/**/*.ts",

0 commit comments

Comments
 (0)