Skip to content

Commit

Permalink
fix: export AlsStore to assist with avoiding TS problems in consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
maxholman committed Jul 18, 2022
1 parent c32e51e commit f1ba39e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
export { ServerTiming } from './server-timing.js';
export { createTimingStore } from './create-store.js';

// type AlsStore be exported because of
// https://github.com/microsoft/TypeScript/issues/42873
// consumers will need to import it to avoid that error
export { type AlsStore, createTimingStore } from './create-store.js';

0 comments on commit f1ba39e

Please sign in to comment.