Closed GerkinDev closed 3 years ago
Please add type testing to PR
webpack-notifier-tests.ts
in DefinitelyTyped repo
optionally, you can cover the contentImage
in more detail"dtslint": "dtslint types"
.github/workflows/ci.yml
in lint
jobNote that I've already improved typings on contentImage
from what I've seen in the code. See https://github.com/Turbo87/webpack-notifier/pull/67/commits/a54ea92652bfc3a223509276471ca8a1d5f94558#diff-7aa4473ede4abd9ec099e87fec67fd57afafaf39e05d493ab4533acc38547eb8R20 based on https://github.com/Turbo87/webpack-notifier/blob/master/index.js#L43-L54
@GerkinDev available at v1.14.0
Typescript definition at DefinitelyTyped is obsolete, as it is still for webpack-notifier@1.8.0: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/webpack-notifier/index.d.ts. It would be easier to keep them in sync if both are in the same repo.
If you're not familiar with Typescript, I would be glad to help you maintain it.