-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Avoid calling hasOwnProperty in helpers #37016
Copy link
Copy link
Closed
Labels
Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-reprosThis issue has compiler-backed repros: https://aka.ms/ts-reprosNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Metadata
Metadata
Assignees
Labels
Has ReproThis issue has compiler-backed repros: https://aka.ms/ts-reprosThis issue has compiler-backed repros: https://aka.ms/ts-reprosNeeds InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.RescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
TypeScript Version: master branch
Search Terms:
Code
Workbench Repro
Expected behavior:
The above code works fine when transpiled.
Actual behavior:
The above code fails with an error at runtime when transpiled to non‑ESM.
Playground Link: 🔗
Related Issues: