Skip to content
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

Add workbox-build to allowed packages #581

Merged
merged 1 commit into from Dec 20, 2022
Merged

Add workbox-build to allowed packages #581

merged 1 commit into from Dec 20, 2022

Conversation

NivaldoFarias
Copy link
Contributor

The current workbox-build typing reference inside the @types/next-pwa package points to @types/workbox-build, which has not updated its definitions since v5.0 of the parent module. Currently, the original workbox-build package sits at v6.5.4. This package version mismatch may compromise the extended webpackConfigOptions type referenced within the @types/next-pwa package.

To solve this issue, adding the dependency to the allowed packages list will ensure that the reference won't ripple any possibly stale and/or mismatched types.

BTW, to further reiterate the issue, see the current workaround to the mismatched types.

The current `workbox-build` typing reference inside the [@types/next-pwa](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/next-pwa) package points to `@types/workbox-build`, which has not updated its definitions since `v5.0` of the parent module. Currently, the original `workbox-build` package sits at `v6.5.4`. This package version mismatch may compromise the extended [webpackConfigOptions](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/next-pwa/index.d.ts#L44) type referenced within the `@types/next-pwa` package. 

To solve this issue, adding the dependency to the allowed packages list will ensure that the reference won't ripple any **possibly** stale and/or mismatched types.

###### BTW, to further reiterate the issue, see the current workaround to the [mismatched types](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/next-pwa/index.d.ts#L11-L16).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants