Skip to content

Legacy/Experimental parameter decorators fails with TS1239 when StrictNullChecks is true in Typescript 5.0.2Β #53312

@mrttrifork

Description

@mrttrifork

Bug Report

πŸ”Ž Search Terms

experimentalDecorator, TS1239, parameter decorator

πŸ•— Version & Regression Information

4.8.3 -> 5.0.2

⏯ Playground Link

Playground link with relevant code

πŸ’» Code

I provided the playground link

πŸ™ Actual behavior

i assume @Dependency("test) returns undefined and i set the type to string so i assume that's why it fails now

πŸ™‚ Expected behavior

There should be no error

Metadata

Metadata

Assignees

Labels

Fix AvailableA PR has been opened for this issueNeeds InvestigationThis issue needs a team member to investigate its status.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions