--isolatedDeclarations
allows generator functions
#58334
Labels
Milestone
--isolatedDeclarations
allows generator functions
#58334
π Search Terms
π Version & Regression Information
5.5.0-dev.20240426
β― Playground Link
https://www.typescriptlang.org/play/?isolatedDeclarations=true&ts=5.5.0-dev.20240426#code/KYDwDg9gTgLgBAMwK4DsDGMCWEUCo4CGAzgCYAUAlHAN4BQcDcAnpsADYlwBMA3PYy3acAzH0ZwowGEigo4ARloBfIA
π» Code
π Actual behavior
This is allowed, the following code is emitted even though it requires inference:
π Expected behavior
This is disallowed (probably all generator functions)
Additional information about the issue
cc @dragomirtitian
The text was updated successfully, but these errors were encountered: