-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript typings #105
Comments
Hey @PachowStudios that is a great idea, can you work towards a PR? |
I'm happy to contribute. @PachowStudios Is it worth creating a set of very basic typings and merging that? The other can build on top. Can you share what you have so far? |
I had forgotten about this. I don't have time to make a PR, but here's what I created previously: declare module 'etl' {
import { Transform } from 'stream';
export type MapStream = Transform & {
promise(): Promise<void>;
};
export function map(fn: (...args: any[]) => void | Promise<void>): MapStream;
} I only needed the map function so it's all I bothered to type out. |
Is this done? I am getting an error
|
Would it be possible to get Typescript typings for this library?
I'll start making my own, but it probably won't be comprehensive.
The text was updated successfully, but these errors were encountered: