Skip to content

Commit 1dbf38a

Browse files
authored
fix: Add Precondition type to exports in index.ts (#263)
* fix: Add Precondition type to exports in index.ts * Fix linting.
1 parent 2aa5fe3 commit 1dbf38a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/index.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@ import type { EventType } from './EventType.js';
66
import { isSubjectOnEventId } from './isSubjectOnEventId.js';
77
import { isSubjectPristine } from './isSubjectPristine.js';
88
import type { ObserveEventsOptions } from './ObserveEventsOptions.js';
9+
import type { Precondition } from './Precondition.js';
910
import type { ReadEventsOptions } from './ReadEventsOptions.js';
1011

1112
export { Client, Container, isSubjectOnEventId, isSubjectPristine };
12-
export type { Event, EventCandidate, EventType, ObserveEventsOptions, ReadEventsOptions };
13+
export type {
14+
Event,
15+
EventCandidate,
16+
EventType,
17+
ObserveEventsOptions,
18+
Precondition,
19+
ReadEventsOptions,
20+
};

0 commit comments

Comments
 (0)