Export useful types in mod.ts

This commit is contained in:
Alex Gleason 2023-03-24 20:27:07 -05:00
parent 6e342b9667
commit 2f4ebfbda2
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 5 additions and 0 deletions

3
mod.ts
View File

@ -6,3 +6,6 @@ export { default as readOnlyPolicy } from './src/policies/read-only-policy.ts';
export { readStdin, writeStdout } from './src/io.ts';
export { default as pipeline } from './src/pipeline.ts';
export type { Event, InputMessage, OutputMessage, Policy } from './src/types.ts';
export type { PolicyTuple } from './src/pipeline.ts';

View File

@ -33,3 +33,5 @@ function toTuple<T>(item: PolicyTuple<T> | Policy<T>): PolicyTuple<T> {
}
export default pipeline;
export type { PolicyTuple };