Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Repeated conditional spreading of object literals results in OOM #40754

Copy link
Copy link
@amcasey

Description

@amcasey
Issue body actions

TypeScript Version: nightly (fc03982)

Search Terms: spread, union, oom

Playground Link: link

Related Issues: #34853 addressed a related issue

An internal partner team is using this to conditionally override CSS properties (e.g. ...sizeLimited && { width: 100, height: 100 } and is seeing OOM crashes in tsc and poor editor responsiveness.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Breaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeCommittedThe team has roadmapped this issueThe team has roadmapped this issueDomain: PerformanceReports of unusually slow behaviorReports of unusually slow behaviorFix AvailableA PR has been opened for this issueA PR has been opened for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.