Skip to content

EnvironmentPlugin types don't allow passing null #18719

@jtbandes

Description

@jtbandes

It seems like this PR broke the types for EnvironmentPlugin. According to docs, both undefined and null are accepted as values (and have different behavior), however with this change it is no longer allowed to pass null: (playground link)

image

Originally posted by @jtbandes in #18647 (comment)

Metadata

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