Skip to content

Webpack Internal TypingsΒ #49757

Open
Open
@dl748

Description

Webpack contains its own typings in the form of

https://github.com/webpack/webpack/blob/master/types.d.ts

The README states

Removing a package
When a package bundles its own types, types should be removed from Definitely Typed to avoid confusion.

You can remove it by running npm run not-needed -- typingsPackageName asOfVersion [libraryName].

Unfortunately, removing @types/webpack as of 5.0.0 cause many other typings to fail.

So I'm wondering what is the correct way in this situation. I created a Draft PR for this removal.

#49755

I opened this issue as a discussion on what is the best approach for updating these typings.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions