Export useful types in mod.ts
This commit is contained in:
parent
6e342b9667
commit
2f4ebfbda2
3
mod.ts
3
mod.ts
@ -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';
|
||||
|
@ -33,3 +33,5 @@ function toTuple<T>(item: PolicyTuple<T> | Policy<T>): PolicyTuple<T> {
|
||||
}
|
||||
|
||||
export default pipeline;
|
||||
|
||||
export type { PolicyTuple };
|
||||
|
Loading…
Reference in New Issue
Block a user