Skip to content

Add type definitions #38

@demurgos

Description

@demurgos

I'd like to use this library as a dependency of a Typescript project but there are no type definitions currently (even on DT) so it's harder to integrate. It would be nice add types here. (See my plugin-error issue for other reasons it may be a good idea).

Having the types here would also allow the Gulp type definitions to pull its watch options from here instead of redefining them downstream.

I'll send a PR myself to fix this issue (probably after gulpjs/async-done#47 is merged). Given that the library is very short it may also be possible to just convert it to TS and generate the types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions