Typescript: Build failing due to breaking change in @types/[email protected]

Created on 11 Apr 2020  路  3Comments  路  Source: nuxt/typescript

Describe the bug
This import can not be found
https://github.com/nuxt/typescript/blob/master/packages/types/config/build.d.ts#L26

To Reproduce
Restart this codesandbox

Additional context
There is a PR for this but I'm not sure it solves the problem.

My workaround was adding @types/[email protected] to the devDependencies. Also had to delete node_modules and run yarn install again.

This is the relevant commit:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/43625/commits/9d3086c9183b701c71c13759be33904123c66d99

Most helpful comment

All 3 comments

Yep, seeing this as well.

It's kind of boring seeing breaking type changes in a patch update 馃槳, I'm gonna review https://github.com/nuxt/typescript/pull/333 and release a fix ASAP !

Was this page helpful?
0 / 5 - 0 ratings