Skip to content

Negated Types: Remove the concept of control-flow made "fresh" negations - #65286

Closed
Wesley Wigham (weswigham) wants to merge 26 commits into
mainfrom
weswigham/negated-types-nonfresh-control-flow
Closed

Wesley Wigham (weswigham) wants to merge 26 commits into
mainfrom
weswigham/negated-types-nonfresh-control-flow

Conversation

@weswigham

Copy link
Copy Markdown
Member

This change allows full negated types to be created in control flow, not just "fresh" ones that widen away when a position isn't contextually typed by something implying a need for a negation.

This is going to break any "exact" type matching (eg, DT) on locations where these negations are introduced, but logically shouldn't be too breaky otherwise. The other potential downside is possible performance costs - by unconditionally introducing negations, we're unconditionally growing the number of elements in control-flow produced types, in all branches.

Deduplicate fresh negations against their regular counterparts during union collection and intersection insertion. Preserve the first intersection position and ordered-set membership when replacing a fresh member, while leaving standalone fresh negations eligible for widening.

Add compiler coverage for explicit exclusions, generic array narrowing, both union operand orders, and fresh-only widening.
…ntial structures, broaden negation reduction applicability
@typescript-automation typescript-automation Bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 3, 2026
@weswigham
Wesley Wigham (weswigham) force-pushed the weswigham/negated-types-nonfresh-control-flow branch from 4e31f35 to bf68b75 Compare November 3, 2026 21:14
@weswigham

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) test this

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Wesley Wigham (@weswigham), this PR is in an unmergable state, so is missing a merge commit to run against; please resolve conflicts and try again.

@weswigham
Wesley Wigham (weswigham) force-pushed the weswigham/negated-types-nonfresh-control-flow branch from 9952925 to 6e68877 Compare November 23, 2026 21:23
@weswigham

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) test this

@typescript-automation

typescript-automation Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started 👀 Results
user test this ✅ Started 👀 Results
run dt ✅ Started 👀 Results
perf test this faster ✅ Started ❌ Results

@typescript-automation

Copy link
Copy Markdown
Contributor

Hey Wesley Wigham (@weswigham), the results of running the DT tests are ready.

There were interesting changes:

Branch only errors: regex-not

Package: regex-not

Branch error:

Project scope: tsconfig.json

Error: types/regex-not/regex-not-tests.ts:4:19
TypeScript@local compile error TS1110:
Type expected.
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: pdfmake

Package: pdfmake

Branch error:

Project scope: tsconfig.json

Error: types/pdfmake/test/pdfmake-interfaces-tests.ts:22:5
TypeScript@local expected type to be:
  ContentStack
got:
  ContentStack & not string & not number
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: amap-js-api-riding

Package: amap-js-api-riding

Branch error:

Project scope: tsconfig.json

Error: types/amap-js-api-riding/amap-js-api-riding-tests.ts:29:9
TypeScript@local expected type to be:
  SearchResultBase
got:
  SearchResultBase & not string

types/amap-js-api-riding/amap-js-api-riding-tests.ts:92:9
TypeScript@local expected type to be:
  SearchResultExt
got:
  SearchResultExt & not string
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: amap-js-api-arrival-range

Package: amap-js-api-arrival-range

Branch error:

Project scope: tsconfig.json

Error: types/amap-js-api-arrival-range/amap-js-api-arrival-range-tests.ts:12:9
TypeScript@local expected type to be:
  SearchResult
got:
  SearchResult & not string
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: amap-js-api-city-search

Package: amap-js-api-city-search

Branch error:

Project scope: tsconfig.json

Error: types/amap-js-api-city-search/amap-js-api-city-search-tests.ts:8:9
TypeScript@local expected type to be:
  SearchResult
got:
  SearchResult & not string
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: xcode

Package: xcode

Branch error:

Project scope: tsconfig.json

Error: types/xcode/xcode-tests.ts:275:5
TypeScript@local expected type to be:
  PBXProject
got:
  PBXProject & not string

types/xcode/xcode-tests.ts:283:5
TypeScript@local expected type to be:
  XCBuildConfiguration
got:
  XCBuildConfiguration & not string

types/xcode/xcode-tests.ts:291:5
TypeScript@local expected type to be:
  PBXNativeTarget
got:
  PBXNativeTarget & not string
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: amap-js-api-transfer

Package: amap-js-api-transfer

Branch error:

Project scope: tsconfig.json

Error: types/amap-js-api-transfer/amap-js-api-transfer-tests.ts:35:9
TypeScript@local expected type to be:
  SearchResultBase
got:
  SearchResultBase & not string

types/amap-js-api-transfer/amap-js-api-transfer-tests.ts:319:9
TypeScript@local expected type to be:
  SearchResultExt
got:
  SearchResultExt & not string
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)
Branch only errors: amap-js-api-driving

Package: amap-js-api-driving

Branch error:

Project scope: tsconfig.json

Error: types/amap-js-api-driving/amap-js-api-driving-tests.ts:158:9
TypeScript@local expected type to be:
  SearchResultExt
got:
  SearchResultExt & not string
    at combineErrorsAndWarnings (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:200:28)
    at runTests (/mnt/vss/_work/1/s/DefinitelyTyped-tools/packages/dtslint/dist/index.js:192:20)

Full output in the log.

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are the results of running the user tests with tsc comparing baseline and pr:

Something interesting changed - please have a look.

Details

effect

packages/tools/ai-docgen/tsconfig.json

packages/platform/cloudflare/tsconfig.alchemy.json

lodash

/mnt/vss/work/1/s/ts_downloads//m/lodash/tsconfig.json

  • [NEW] error TS2345: Argument of type 'symbol | (string & not "__proto__" & not "constructor" & not "prototype")' is not assignable to parameter of type 'string'.
    • /mnt/vss/work/1/s/ts_downloads//m/lodash/node_modules/lodash/_baseSet.js(45,25)
  • [MISSING] error TS2345: Argument of type 'string | symbol' is not assignable to parameter of type 'string'.
    • /mnt/vss/work/1/s/ts_downloads//m/lodash/node_modules/lodash/_baseSet.js(45,25)

puppeteer

packages/puppeteer-core/tsconfig.json

  • [NEW] error TS2345: Argument of type '(event: EventsWithWildcard<PageEvents>[K], eventData: K extends "*" ? unknown : never) => void' is not assignable to parameter of type '(event: EventsWithWildcard<PageEvents>[K & not PageEvent.Request], eventData: K & not PageEvent.Request extends "*" ? unknown : never) => void'.

type-fest

tsconfig.json

webpack

tsconfig.json

tsconfig.types.json

tsconfig.types.test.json

apps/oxlint/tsconfig.json

xterm.js

src/tsconfig-library-base.json

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham), the perf run you requested failed. You can check the log here.

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are the results of running the top 400 repos with tsc comparing baseline and pr:

Something interesting changed - please have a look.

Details

ant-design/ant-design

1 of 2 projects failed to build with the old tsc and were ignored

tsconfig.json

backstage/backstage

6 of 7 projects failed to build with the old tsc and were ignored

tsconfig.json

cheaper-inference/OmniRoute

4 of 12 projects failed to build with the old tsc and were ignored

tsconfig.mitm.json

tsconfig.typecheck-core.json

tsconfig.typecheck-noimplicit-core.json

tests/types/tsconfig.dashboard-shared-contracts.json

open-sse/tsconfig.json

cheeriojs/cheerio

2 of 3 projects failed to build with the old tsc and were ignored

tsconfig.json

  • error TS2345: Argument of type '((ArrayLike<AnyNode> | AnyNode) & not string)[] | (((ArrayLike<AnyNode> | AnyNode) & not string) & any[])' is not assignable to parameter of type 'ArrayLike<AnyNode> | undefined'.

dream-num/univer

129 of 155 projects failed to build with the old tsc and were ignored

packages/engine-formula/tsconfig.json

packages/engine-formula/tsconfig.node.json

earendil-works/pi

9 of 18 projects failed to build with the old tsc and were ignored

packages/tui/tsconfig.build.json

getpaseo/paseo

16 of 19 projects failed to build with the old tsc and were ignored

packages/client/tsconfig.json

  • error TS2322: Type '{ parentWorkspaceId?: string | undefined; id: string; projectId: string; projectDisplayName: string; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; ... 26 more ...; workspaceDirectory: string; } | null' is not assignable to type '({ parentWorkspaceId?: string | undefined; id: string; projectId: string; projectDisplayName: string; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; ... 26 more ...; workspaceDirectory: string; } & not string) | null'.
  • error TS2322: Type '{ parentWorkspaceId?: string | undefined; id: string; projectId: string; projectDisplayName: string; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; ... 26 more ...; workspaceDirectory: string; }' is not assignable to type '{ parentWorkspaceId?: string | undefined; id: string; projectId: string; projectDisplayName: string; projectCustomName?: string | null | undefined; projectCustomIconRevision?: string | null | undefined; ... 26 more ...; workspaceDirectory: string; } & not string'.
  • error TS2719: Type '{ id: string; provider: string; cwd: string; workspaceId?: string | undefined; model: string | null; features?: ({ type: "toggle"; id: string; label: string; description?: string | undefined; tooltip?: string | undefined; icon?: string | undefined; value: boolean; } | ...)[] | undefined; ... 29 more ...; background?...' is not assignable to type '{ id: string; provider: string; cwd: string; workspaceId?: string | undefined; model: string | null; features?: ({ type: "toggle"; id: string; label: string; description?: string | undefined; tooltip?: string | undefined; icon?: string | undefined; value: boolean; } | ...)[] | undefined; ... 29 more ...; background?...'. Two different types with this name exist, but they are unrelated.
  • error TS2322: Type '{ id: string; provider: string; cwd: string; workspaceId?: string | undefined; model: string | null; features?: ({ type: "toggle"; id: string; label: string; description?: string | undefined; tooltip?: string | undefined; icon?: string | undefined; value: boolean; } | ...)[] | undefined; ... 29 more ...; background?...' is not assignable to type '({ id: string; provider: string; cwd: string; workspaceId?: string | undefined; model: string | null; features?: ({ type: "toggle"; id: string; label: string; description?: string | undefined; tooltip?: string | undefined; icon?: string | undefined; value: boolean; } | ...)[] | undefined; ... 29 more ...; background...'.
  • error TS2322: Type '{ id: string; workspaceId: string; cwd: string; name: string; } | null' is not assignable to type '({ id: string; workspaceId: string; cwd: string; name: string; } & not string) | null'.

grafana/grafana

24 of 38 projects failed to build with the old tsc and were ignored

packages/grafana-ui/tsconfig.build.json

packages/grafana-ui/tsconfig.json

packages/grafana-runtime/tsconfig.json

packages/grafana-o11y-ds-frontend/tsconfig.json

packages/grafana-data/tsconfig.build.json

packages/grafana-data/tsconfig.json

graphql/graphql-js

3 of 4 projects failed to build with the old tsc and were ignored

tsconfig.json

  • error TS2339: Property 'allowEmptySelectionSets' does not exist on type 'ValidationContextOptions | { hideSuggestions: boolean; } | { hideSuggestions?: never; }'.
  • error TS2339: Property 'allowEmptySelectionSets' does not exist on type '{ hideSuggestions: boolean; } | { hideSuggestions?: never; } | (ValidationContextOptions & not false & not true)'.

homebridge/homebridge

tsconfig.json

  • error TS2367: This comparison appears to be unintentional because the types '"mediaPlayback" | (string & not "rvcCleanMode" & not "serviceArea" & not "powerSource")' and '"serviceArea"' have no overlap.

tsconfig.typecheck.json

  • error TS2367: This comparison appears to be unintentional because the types '"mediaPlayback" | (string & not "rvcCleanMode" & not "serviceArea" & not "powerSource")' and '"serviceArea"' have no overlap.

Infisical/infisical

backend/tsconfig.json

koala73/worldmonitor

2 of 9 projects failed to build with the old tsc and were ignored

tsconfig.dom-tests.json

tsconfig.json

  • error TS2322: Type 'ScatterplotLayer<never, { id: `${string}-ghost`; data: never[]; getPosition: () => [number, number]; visible: boolean; }>' is not assignable to type 'ScatterplotLayer<any, {}>'.
  • error TS2367: This comparison appears to be unintentional because the types 'AisDisruptionType' and '"spoofing"' have no overlap.
  • error TS2367: This comparison appears to be unintentional because the types '"elevated" | "low"' and '"medium"' have no overlap.
  • error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  • error TS2367: This comparison appears to be unintentional because the types 'string & not "blob" & not "eval" & not "inline" & not "data" & not "about" & not "android-webview-video-poster"' and '"inline"' have no overlap.

e2e/tsconfig.json

  • error TS2322: Type 'ScatterplotLayer<never, { id: `${string}-ghost`; data: never[]; getPosition: () => [number, number]; visible: boolean; }>' is not assignable to type 'ScatterplotLayer<any, {}>'.
  • error TS2367: This comparison appears to be unintentional because the types 'AisDisruptionType' and '"spoofing"' have no overlap.
  • error TS2367: This comparison appears to be unintentional because the types '"elevated" | "low"' and '"medium"' have no overlap.
  • error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are some more interesting changes from running the top 400 repos suite

Details

kortix-ai/CompanyOS

9 of 32 projects failed to build with the old tsc and were ignored

packages/ui/tsconfig.build.json

packages/ui/tsconfig.json

packages/starter/tsconfig.json

packages/manifest-schema/tsconfig.json

apps/white-label/reskin/tsconfig.json

meta/astryx

32 of 52 projects failed to build with the old tsc and were ignored

packages/charts/tsconfig.build.json

packages/charts/tsconfig.json

meta/lexical

15 of 36 projects failed to build with the old tsc and were ignored

tsconfig.build.json

examples/node-state-identity/tsconfig.json

dev-examples/mdast-editor/tsconfig.json

dev-examples/hmr/tsconfig.json

dev-examples/dom-import/tsconfig.json

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are some more interesting changes from running the top 400 repos suite

Details

microsoft/vscode

25 of 114 projects failed to build with the old tsc and were ignored

src/tsconfig.defineClassFields.json

src/tsconfig.json

src/tsconfig.monaco.json

src/tsconfig.tsec.json

extensions/terminal-suggest/tsconfig.json

extensions/markdown-language-features/tsconfig.markdownEditor.json

extensions/markdown-language-features/markdown-editor-src/tsconfig.json

build/checker/tsconfig.electron-browser.json

build/checker/tsconfig.electron-main.json

build/checker/tsconfig.electron-utility.json

build/checker/tsconfig.worker.json

moeru-ai/airi

54 of 82 projects failed to build with the old tsc and were ignored

packages/better-ws/tsconfig.json

paperclipai/paperclip

36 of 66 projects failed to build with the old tsc and were ignored

tests/runner-acceptance/tsconfig.json

packages/plugins/plugin-workspace-diff/tsconfig.json

packages/plugins/plugin-workspace-diff/tsconfig.test.json

packages/paperclip-runner/tsconfig.browser.test.json

packages/paperclip-runner/tsconfig.surfaces.test.json

pixijs/pixijs

1 of 3 projects failed to build with the old tsc and were ignored

playground/tsconfig.json

examples/tsconfig.json

promptfoo/promptfoo

2 of 7 projects failed to build with the old tsc and were ignored

tsconfig.json

pubkey/rxdb

11 of 12 projects failed to build with the old tsc and were ignored

config/tsconfig.types.json

  • error TS2322: Type 'string | undefined' is not assignable to type 'string'.
  • error TS2345: Argument of type 'DeepReadonly<T[Extract<keyof T, string> & not "__proto__"]> | (T[Extract<keyof T, string> & not "__proto__"] & object[Extract<...> & not "__proto__"])' is not assignable to parameter of type 'DeepReadonlyObject<(DeepReadonlyObject<T> | (T & object))[Extract<keyof T, string> & not "__proto__"]> | (DeepReadonlyObject<...> | (T & object))[Extract<...> & not "__proto__"]'.

SBoudrias/Inquirer.js

tsconfig.json

packages/testing/tsconfig.json

packages/select/tsconfig.json

packages/prompts/tsconfig.json

packages/inquirer/tsconfig.json

packages/i18n/tsconfig.json

packages/demo/tsconfig.json

packages/checkbox/tsconfig.json

siyuan-note/siyuan

1 of 5 projects failed to build with the old tsc and were ignored

app/tsconfig.json

  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "searchFileItem"' can't be used to index type '{ assets: string; doc: string; av: string; notebook: string; }'.
  • error TS2367: This comparison appears to be unintentional because the types 'string & not "block-type" & not "outdent" & not "indent" & not "block-ref"' and '"block-type"' have no overlap.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./automationTemplateFunctions" & not "./capabilities"' can't be used to index type '{ "./blockCollection": { collectionSourceIncomplete: () => boolean; mountBlockCollectionSource: (_host: HTMLElement, value: AVAutomationBlockSourceInput, _protyle: IProtyle, persist: ...) => void; }; "../../../util/escape": ...; "../../../util/fetch": ...; "../../wysiwyg/transaction": ...; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./automationTemplateFunctions" & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "../../../plugin/Menu": { Menu: typeof Menu; }; "./filterDropdown": typeof import("/mnt/vss/_work/1/s/ts_downloads/_/m/siyuan/app/src/protyle/render/av/filterDropdown"); "../../../util/escape": ...; "../../../util/fetch": ...; "../../wysiwyg/transaction": ...; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./automationTemplateFunctions" & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "./automationRules": { openAutomationRules: (_target: HTMLElement, _rules: unknown, _current: string, _select: unknown, rename: (id: string, name: string) => void, remove: (id: string) => void) => void; }; "./automationTemplate": ...; "../../../util/escape": ...; "../../../util/fetch": ...; "../../wysiwyg/transact...'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./automationTemplateFunctions" & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "../../../util/fetch": { fetchSyncPost: () => Promise<unknown>; }; "../../wysiwyg/transaction": { transaction: () => never; }; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "../../../wysiwyg/transaction": { transaction: (_protyle: IProtyle, perform: IOperation[], undo: IOperation[]) => number; }; "../../../../util/escape": ...; "../col": ...; "../viewSettingMenu": ...; "../../../../plugin/Menu": ...; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "./filter": { prepareFilterColumns: () => Promise<void>; }; "./filterDropdown": typeof import("/mnt/vss/_work/1/s/ts_downloads/_/m/siyuan/app/src/protyle/render/av/filterDropdown"); "./view": ...; "../../../util/escape": ...; "./conditionalColor": ...; "../../wysiwyg/transaction": ...; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./capabilities"' can't be used to index type '{ dayjs: any; "../../../util/escape": { escapeAttr: StringConstructor; }; "../../../datePicker/inline": { getInlineDateValue: (input: { value: string; }) => string; }; "../../../datePicker/binding": ...; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./capabilities"' can't be used to index type '{ "./filterTree": typeof import("/mnt/vss/_work/1/s/ts_downloads/_/m/siyuan/app/src/protyle/render/av/filterTree"); "./view": { getFieldsByData: (data: IAV) => IAVColumn[]; }; ... 5 more ...; "../../wysiwyg/transaction": ...; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "./view": { getFieldsByData: () => { id: string; type: string; }[]; }; "./cell": { genCellValue: (type: string, mSelect: IAVCellSelectValue[]) => { type: string; mSelect: IAVCellSelectValue[]; }; }; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "./view": { getFieldsByData: () => { id: string; type: string; }[]; }; "../../../datePicker/inline": { validateInlineDateInput: () => boolean; }; "./filterDateDropdown": { createFilterDateDropdown: () => ...; }; }'.
  • error TS7053: Element implicitly has an 'any' type because expression of type 'string & not "./capabilities" & not "../capabilities"' can't be used to index type '{ "./view": { getFieldsByData: () => (IAVColumn | { id: string; type: string; relation: { avID: string; }; })[]; }; "./filterDropdown": typeof import("/mnt/vss/_work/1/s/ts_downloads/_/m/siyuan/app/src/protyle/render/av/filterDropdown"); "./col": ...; "../../../util/escape": ...; "../../../constants": ...; "../../.....'.
  • error TS2367: This comparison appears to be unintentional because the types 'string & not ""' and '""' have no overlap.

solidjs/solid

33 of 35 projects failed to build with the old tsc and were ignored

packages/signals/tsconfig.build.json

Stirling-Tools/Stirling-PDF

5 of 12 projects failed to build with the old tsc and were ignored

frontend/src/processor/proprietary/tsconfig.json

frontend/src/editor/saas/tsconfig.json

frontend/src/editor/proprietary/tsconfig.json

frontend/src/editor/desktop/tsconfig.json

frontend/src/editor/core/tsconfig.json

frontend/src/editor/cloud/tsconfig.json

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham) Here are some more interesting changes from running the top 400 repos suite

Details

supabase/supabase

41 of 57 projects failed to build with the old tsc and were ignored

apps/studio/tsconfig.json

teableio/teable

76 of 119 projects failed to build with the old tsc and were ignored

apps/nextjs-app/tsconfig.json

packages/v2/data-query/tsconfig.json

  • error TS2322: Type 'Ok<{ fieldId: string; source?: string | undefined; order: "asc" | "desc" | (string | number | boolean)[] | { mode: "currentMonth" | "currentWeek" | "currentYear" | "dateRange" | "daysAgo" | ... 24 more ... | "yesterday"; numberOfDays?: number | undefined; exactDate?: string | undefined; exactDateEnd?: string | undef...' is not assignable to type 'Result<DataQuerySortResolved | undefined, DomainError>'.

packages/v2/contract-http-openapi/tsconfig.json

packages/v2/contract-http-client/tsconfig.json

packages/v2/contract-http/tsconfig.json

packages/v2/adapter-table-repository-postgres/tsconfig.json

packages/sdk/tsconfig.json

thedotmack/claude-mem

3 of 9 projects failed to build with the old tsc and were ignored

tsconfig.json

vercel/ai

63 of 122 projects failed to build with the old tsc and were ignored

packages/ai/tsconfig.json

xyflow/xyflow

7 of 10 projects failed to build with the old tsc and were ignored

packages/system/tsconfig.json

  • error TS2322: Type 'InternalNodeBase<NodeType> | undefined' is not assignable to type '((NodeType | InternalNodeBase<NodeType>) & not string) | undefined'.

Yeachan-Heo/oh-my-claudecode

1 of 2 projects failed to build with the old tsc and were ignored

tsconfig.json

Yeachan-Heo/oh-my-codex

tsconfig.json

  • error TS2367: This comparison appears to be unintentional because the types 'string & not "help" & not "--help" & not "-h" & not "create" & not "create-goals" & not "status" & not "add-goal" & not "steer" & not "record-review-blockers" & not "complete" & not "complete-goals" & not "next" & not "start-next"' and '"steer"' have no overlap.
  • error TS2367: This comparison appears to be unintentional because the types 'string & not "\u001B[0m"' and '"\u001B[0m"' have no overlap.
  • error TS2367: This comparison appears to be unintentional because the types 'string & not "node_modules/.bin/omx" & not "dist/cli/omx.js"' and '"dist/cli/omx.js"' have no overlap.

tsconfig.no-unused.json

  • error TS2367: This comparison appears to be unintentional because the types 'string & not "help" & not "--help" & not "-h" & not "create" & not "create-goals" & not "status" & not "add-goal" & not "steer" & not "record-review-blockers" & not "complete" & not "complete-goals" & not "next" & not "start-next"' and '"steer"' have no overlap.
  • error TS2367: This comparison appears to be unintentional because the types 'string & not "\u001B[0m"' and '"\u001B[0m"' have no overlap.
  • error TS2367: This comparison appears to be unintentional because the types 'string & not "node_modules/.bin/omx" & not "dist/cli/omx.js"' and '"dist/cli/omx.js"' have no overlap.

@weswigham

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) pack this

@typescript-automation

typescript-automation Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
pack this ✅ Started ✅ Results

@github-actions

Copy link
Copy Markdown

Hey, Wesley Wigham (@weswigham)! I've packed 6e68877 into an installable package. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "npm:@typescript-deploys/pr-build@7.1.0-pr.65286.7"
    }
}

and then running npm install.

There is also a playground for this build.

@weswigham

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) perf test this

@typescript-automation

typescript-automation Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
perf test this ✅ Started 👀 Results

@weswigham

Copy link
Copy Markdown
Member Author

Note form design: put this behind a flag

@typescript-automation

Copy link
Copy Markdown
Contributor

Wesley Wigham (@weswigham)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - native
Errors 41 43 🔻+2 (+ 4.88%) ~ ~ p=0.000 n=20
Symbols 88,381 88,689 +308 (+ 0.35%) ~ ~ p=0.000 n=20
Types 79,149 80,520 +1,371 (+ 1.73%) ~ ~ p=0.000 n=20
Memory Used 106,291k (± 0.03%) 108,405k (± 0.02%) +2,102k (+ 1.98%) 108,337k 108,575k p=0.000 n=20
Memory Allocs 1,045,789 (± 0.01%) 1,060,350 (± 0.01%) +14,554 (+ 1.39%) 1,060,138 1,060,591 p=0.000 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.044s (± 2.07%) 0.045s (± 2.45%) +0.001s (+ 2.42%) 0.040s 0.051s p=0.046 n=20
Bind Time 0.016s (± 8.87%) 0.014s (± 8.05%) ~ 0.012s 0.019s p=0.124 n=20
Check Time 0.452s (± 0.69%) 0.553s (± 0.59%) 🔻+0.101s (+22.39%) 0.543s 0.566s p=0.000 n=20
Emit Time 0.260s (± 1.24%) 0.269s (± 1.23%) +0.010s (+ 3.71%) 0.259s 0.286s p=0.001 n=20
Total Time 0.779s (± 0.43%) 0.890s (± 0.41%) 🔻+0.112s (+14.31%) 0.875s 0.900s p=0.000 n=20
angular-1 - native
Errors 63 65 +2 (+ 3.17%) ~ ~ p=0.000 n=20
Symbols 753,731 758,542 +4,811 (+ 0.64%) ~ ~ p=0.000 n=20
Types 546,699 553,985 +7,286 (+ 1.33%) ~ ~ p=0.000 n=20
Memory Used 642,540k (± 0.01%) 648,669k (± 0.01%) +6,128k (+ 0.95%) 648,212k 649,018k p=0.000 n=20
Memory Allocs 8,310,158 (± 0.06%) 8,357,754 (± 0.03%) +50,476 (+ 0.61%) 8,352,248 8,374,032 p=0.000 n=20
Config Time 0.016s (± 1.43%) 0.017s (± 1.37%) ~ 0.016s 0.017s p=0.240 n=20
Parse Time 0.257s (± 2.02%) 0.256s (± 2.07%) ~ 0.238s 0.273s p=0.927 n=20
Bind Time 0.076s (±10.38%) 0.079s (± 9.78%) ~ 0.065s 0.119s p=0.433 n=20
Check Time 1.305s (± 0.81%) 1.337s (± 0.87%) +0.031s (+ 2.36%) 1.300s 1.397s p=0.001 n=20
Emit Time 0.886s (± 0.96%) 0.888s (± 0.84%) ~ 0.859s 0.923s p=0.596 n=20
Total Time 2.560s (± 0.57%) 2.598s (± 0.56%) +0.036s (+ 1.41%) 2.539s 2.674s p=0.001 n=20
arktype - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 676,777 685,379 +8,602 (+ 1.27%) ~ ~ p=0.000 n=20
Types 937,629 944,457 +6,828 (+ 0.73%) ~ ~ p=0.000 n=20
Memory Used 473,869k (± 0.02%) 482,845k (± 0.01%) +8,982k (+ 1.90%) 482,587k 483,108k p=0.000 n=20
Memory Allocs 11,787,643 (± 0.01%) 11,864,792 (± 0.01%) +77,335 (+ 0.66%) 11,861,793 11,872,193 p=0.000 n=20
Config Time 0.003s 0.003s ~ ~ ~ p=1.000 n=20
Parse Time 0.082s (± 2.65%) 0.084s (± 2.37%) ~ 0.075s 0.093s p=0.205 n=20
Bind Time 0.025s (± 8.89%) 0.024s (± 8.56%) ~ 0.022s 0.040s p=0.218 n=20
Check Time 1.741s (± 0.42%) 1.793s (± 0.50%) +0.052s (+ 2.97%) 1.767s 1.835s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.901s (± 0.36%) 1.956s (± 0.47%) +0.055s (+ 2.91%) 1.924s 1.990s p=0.000 n=20
class-transformer - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 45,378 45,389 +11 (+ 0.02%) ~ ~ p=0.000 n=20
Types 7,565 7,636 +71 (+ 0.94%) ~ ~ p=0.000 n=20
Memory Used 27,697k (± 0.03%) 27,760k (± 0.02%) +63k (+ 0.23%) 27,728k 27,786k p=0.000 n=20
Memory Allocs 231,546 (± 0.03%) 232,033 (± 0.05%) +499 (+ 0.22%) 231,545 232,767 p=0.000 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.020s (± 2.25%) 0.020s (± 3.14%) ~ 0.018s 0.024s p=0.530 n=20
Bind Time 0.007s (±11.75%) 0.007s (±13.51%) ~ 0.005s 0.011s p=0.663 n=20
Check Time 0.018s (± 6.30%) 0.018s (± 6.24%) ~ 0.016s 0.022s p=0.653 n=20
Emit Time 0.018s (± 7.76%) 0.018s (± 7.44%) ~ 0.015s 0.023s p=0.959 n=20
Total Time 0.065s (± 2.00%) 0.066s (± 1.57%) ~ 0.062s 0.070s p=0.636 n=20
effect - native
Errors 12 14 🔻+2 (+16.67%) ~ ~ p=0.000 n=20
Symbols 1,234,260 1,237,066 +2,806 (+ 0.23%) ~ ~ p=0.000 n=20
Types 892,037 897,502 +5,465 (+ 0.61%) ~ ~ p=0.000 n=20
Memory Used 940,310k (± 0.01%) 947,714k (± 0.01%) +7,392k (+ 0.79%) 947,188k 948,344k p=0.000 n=20
Memory Allocs 11,712,192 (± 0.07%) 11,775,262 (± 0.05%) +64,253 (+ 0.55%) 11,767,641 11,823,530 p=0.000 n=20
Config Time 0.006s 0.006s ~ ~ ~ p=1.000 n=20
Parse Time 0.329s (± 1.68%) 0.327s (± 1.62%) ~ 0.301s 0.351s p=0.467 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 1.813s (± 0.51%) 1.888s (± 0.60%) 🔻+0.074s (+ 4.11%) 1.859s 1.927s p=0.000 n=20
Emit Time 0.960s (± 2.50%) 0.952s (± 2.87%) ~ 0.855s 1.059s p=0.674 n=20
Total Time 3.274s (± 0.61%) 3.344s (± 0.70%) +0.070s (+ 2.14%) 3.262s 3.432s p=0.001 n=20
mui-docs - native
Errors 11,405 11,408 +3 (+ 0.03%) ~ ~ p=0.000 n=20
Symbols 3,692,413 3,699,655 +7,242 (+ 0.20%) ~ ~ p=0.000 n=20
Types 1,351,476 1,357,720 +6,244 (+ 0.46%) ~ ~ p=0.000 n=20
Memory Used 1,652,052k (± 0.07%) 1,663,781k (± 0.08%) +11,573k (+ 0.70%) 1,658,267k 1,667,810k p=0.000 n=20
Memory Allocs 24,335,120 (± 0.05%) 24,576,798 (± 0.04%) +242,755 (+ 1.00%) 24,532,559 24,624,619 p=0.000 n=20
Config Time 0.016s (± 1.08%) 0.016s (± 0.90%) ~ 0.015s 0.016s p=0.783 n=20
Parse Time 0.548s (± 2.18%) 0.553s (± 2.19%) ~ 0.510s 0.605s p=0.651 n=20
Bind Time 0.002s (±14.85%) 0.003s (±17.65%) ~ 0.002s 0.006s p=0.518 n=20
Check Time 5.482s (± 0.23%) 5.618s (± 0.50%) +0.137s (+ 2.49%) 5.505s 5.785s p=0.000 n=20
Emit Time 0.577s (± 3.24%) 0.602s (± 5.66%) ~ 0.497s 0.739s p=0.216 n=20
Total Time 7.568s (± 0.55%) 7.733s (± 0.61%) +0.172s (+ 2.28%) 7.490s 7.832s p=0.000 n=20
sentry - native
Errors 1 9 🔻+8 (+800.00%) ~ ~ p=0.000 n=20
Symbols 4,781,644 4,789,732 +8,088 (+ 0.17%) ~ ~ p=0.000 n=20
Types 2,590,383 2,604,291 +13,908 (+ 0.54%) ~ ~ p=0.000 n=20
Memory Used 2,792,123k (± 0.04%) 2,809,511k (± 0.04%) +17,315k (+ 0.62%) 2,806,544k 2,817,382k p=0.000 n=20
Memory Allocs 73,788,881 (± 0.09%) 73,969,018 (± 0.11%) +137,804 (+ 0.19%) 73,779,759 74,606,756 p=0.002 n=20
Config Time 0.035s (± 0.62%) 0.035s (± 0.62%) ~ 0.035s 0.036s p=0.282 n=20
Parse Time 0.795s (± 2.40%) 0.793s (± 2.28%) ~ 0.741s 0.878s p=0.956 n=20
Bind Time 0.253s (±10.60%) 0.266s (±12.37%) ~ 0.198s 0.380s p=0.779 n=20
Check Time 11.069s (± 0.43%) 11.379s (± 0.47%) +0.316s (+ 2.86%) 11.215s 11.532s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 12.213s (± 0.31%) 12.533s (± 0.32%) +0.326s (+ 2.67%) 12.428s 12.658s p=0.000 n=20
social-app - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 1,838,865 1,839,635 +770 (+ 0.04%) ~ ~ p=0.000 n=20
Types 1,146,817 1,151,397 +4,580 (+ 0.40%) ~ ~ p=0.000 n=20
Memory Used 938,400k (± 0.02%) 950,256k (± 0.02%) +11,864k (+ 1.26%) 949,592k 950,947k p=0.000 n=20
Memory Allocs 13,247,742 (± 0.12%) 13,298,242 (± 0.10%) +50,679 (+ 0.38%) 13,252,312 13,361,833 p=0.000 n=20
Config Time 0.011s (± 2.21%) 0.010s (± 2.28%) -0.000s (- 0.00%) 0.010s 0.011s p=0.039 n=20
Parse Time 0.268s (± 1.68%) 0.269s (± 2.03%) ~ 0.254s 0.305s p=0.956 n=20
Bind Time 0.071s (±13.10%) 0.069s (±10.41%) ~ 0.058s 0.120s p=0.828 n=20
Check Time 2.397s (± 0.52%) 2.462s (± 0.63%) +0.066s (+ 2.75%) 2.397s 2.509s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 2.766s (± 0.22%) 2.831s (± 0.39%) +0.065s (+ 2.34%) 2.797s 2.872s p=0.000 n=20
strada-build-src - native
Errors 0 2 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 1,182,486 1,305,503 🔻+123,017 (+10.40%) ~ ~ p=0.000 n=20
Types 435,482 449,174 +13,692 (+ 3.14%) ~ ~ p=0.000 n=20
Memory Used 1,168,734k (± 0.39%) 1,690,223k (± 0.28%) 🔻+522,797k (+44.73%) 1,676,930k 1,713,748k p=0.000 n=20
Memory Allocs 39,946,233 (± 0.08%) 47,069,858 (± 0.06%) 🔻+7,122,027 (+17.83%) 46,968,108 47,168,760 p=0.000 n=20
Config Time 0.005s (± 6.20%) 0.005s (± 8.14%) 🔻+0.001s (+18.32%) 0.004s 0.007s p=0.005 n=20
Parse Time 0.285s (± 1.36%) 0.377s (± 1.67%) 🔻+0.093s (+32.54%) 0.348s 0.399s p=0.000 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 1.719s (± 0.50%) 2.727s (± 0.26%) 🔻+1.008s (+58.67%) 2.699s 2.755s p=0.000 n=20
Emit Time 0.305s (± 2.17%) 0.297s (± 1.47%) ~ 0.283s 0.320s p=0.076 n=20
Total Time 20.466s (± 0.33%) 30.012s (± 0.32%) 🔻+9.539s (+46.61%) 29.712s 30.461s p=0.000 n=20
strada-compiler - native
Errors 0 1 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 262,136 264,084 +1,948 (+ 0.74%) ~ ~ p=0.000 n=20
Types 195,074 203,348 🔻+8,274 (+ 4.24%) ~ ~ p=0.000 n=20
Memory Used 221,400k (± 0.02%) 255,774k (± 0.02%) 🔻+34,366k (+15.52%) 255,492k 256,014k p=0.000 n=20
Memory Allocs 1,885,003 (± 0.02%) 2,341,837 (± 0.02%) 🔻+456,847 (+24.24%) 2,339,892 2,343,333 p=0.000 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.082s (± 3.73%) 0.084s (± 3.73%) ~ 0.074s 0.095s p=0.517 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 0.694s (± 0.54%) 1.070s (± 0.40%) 🔻+0.376s (+54.19%) 1.054s 1.086s p=0.000 n=20
Emit Time 0.076s (± 5.11%) 0.077s (± 7.12%) ~ 0.066s 0.103s p=1.000 n=20
Total Time 0.892s (± 0.56%) 1.278s (± 0.53%) 🔻+0.388s (+43.50%) 1.258s 1.305s p=0.000 n=20
t3code-server - native
Errors 0 4 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 4,344,905 4,348,361 +3,456 (+ 0.08%) ~ ~ p=0.000 n=20
Types 3,038,855 3,045,864 +7,009 (+ 0.23%) ~ ~ p=0.000 n=20
Memory Used 2,392,447k (± 0.01%) 2,409,240k (± 0.01%) +16,805k (+ 0.70%) 2,407,770k 2,410,828k p=0.000 n=20
Memory Allocs 36,894,795 (± 0.04%) 37,347,531 (± 0.06%) +449,814 (+ 1.22%) 37,283,527 37,473,123 p=0.000 n=20
Config Time 0.006s (± 1.75%) 0.006s ~ ~ ~ p=1.000 n=20
Parse Time 0.563s (± 1.84%) 0.546s (± 1.59%) 🟩-0.018s (- 3.11%) 0.502s 0.578s p=0.036 n=20
Bind Time 0.138s (± 2.02%) 0.141s (± 4.85%) ~ 0.131s 0.190s p=0.744 n=20
Check Time 12.041s (± 0.63%) 12.754s (± 0.49%) 🔻+0.721s (+ 5.99%) 12.567s 13.092s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 12.764s (± 0.57%) 13.461s (± 0.46%) 🔻+0.700s (+ 5.49%) 13.275s 13.797s p=0.000 n=20
tanstack-router - native
Errors 3 3 ~ ~ ~ p=1.000 n=20
Symbols 567,259 568,068 +809 (+ 0.14%) ~ ~ p=0.000 n=20
Types 395,492 396,984 +1,492 (+ 0.38%) ~ ~ p=0.000 n=20
Memory Used 310,974k (± 0.01%) 313,710k (± 0.02%) +2,731k (+ 0.88%) 313,524k 313,884k p=0.000 n=20
Memory Allocs 3,964,415 (± 0.05%) 3,983,130 (± 0.03%) +19,329 (+ 0.49%) 3,979,476 3,986,866 p=0.000 n=20
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=20
Parse Time 0.079s (± 3.21%) 0.081s (± 3.33%) ~ 0.071s 0.091s p=0.671 n=20
Bind Time 0.025s (±10.21%) 0.024s (±11.79%) ~ 0.020s 0.041s p=0.365 n=20
Check Time 0.999s (± 0.51%) 1.021s (± 0.56%) +0.022s (+ 2.25%) 1.002s 1.046s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.111s (± 0.40%) 1.131s (± 0.56%) +0.020s (+ 1.82%) 1.113s 1.161s p=0.000 n=20
ts-pre-modules - native
Errors 87 87 ~ ~ ~ p=1.000 n=20
Symbols 230,300 231,289 +989 (+ 0.43%) ~ ~ p=0.000 n=20
Types 180,510 187,731 🔻+7,221 (+ 4.00%) ~ ~ p=0.000 n=20
Memory Used 190,418k (± 0.02%) 224,254k (± 0.01%) 🔻+33,831k (+17.77%) 224,178k 224,404k p=0.000 n=20
Memory Allocs 1,284,200 (± 0.01%) 1,731,960 (± 0.01%) 🔻+447,783 (+34.87%) 1,731,436 1,732,394 p=0.000 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.073s (± 3.44%) 0.074s (± 3.42%) ~ 0.065s 0.081s p=0.668 n=20
Bind Time 0.030s (± 9.94%) 0.028s (± 7.67%) ~ 0.021s 0.038s p=0.418 n=20
Check Time 0.534s (± 0.76%) 1.021s (± 0.35%) 🔻+0.487s (+91.30%) 1.007s 1.036s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.649s (± 0.61%) 1.135s (± 0.30%) 🔻+0.487s (+75.02%) 1.118s 1.147s p=0.000 n=20
vscode - native
Errors 0 10 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 8,704,973 8,718,632 +13,659 (+ 0.16%) ~ ~ p=0.000 n=20
Types 5,025,909 5,054,167 +28,258 (+ 0.56%) ~ ~ p=0.000 n=20
Memory Used 5,806,408k (± 0.02%) 5,849,591k (± 0.01%) +43,589k (+ 0.75%) 5,847,036k 5,851,936k p=0.000 n=20
Memory Allocs 64,433,013 (± 0.01%) 64,740,806 (± 0.03%) +298,346 (+ 0.46%) 64,718,524 64,858,862 p=0.000 n=20
Config Time 0.058s (± 0.44%) 0.058s (± 0.41%) ~ 0.057s 0.059s p=0.148 n=20
Parse Time 2.188s (± 1.67%) 2.167s (± 1.75%) ~ 1.992s 2.310s p=0.133 n=20
Bind Time 0.637s (± 7.84%) 0.656s (± 8.99%) ~ 0.588s 1.090s p=0.169 n=20
Check Time 16.522s (± 0.68%) 16.822s (± 0.72%) +0.305s (+ 1.85%) 16.310s 17.386s p=0.001 n=20
Emit Time 4.995s (± 6.74%) 5.115s (± 7.26%) ~ 4.461s 6.621s p=0.571 n=20
Total Time 24.484s (± 1.12%) 24.903s (± 1.23%) ~ 24.267s 26.029s p=0.090 n=20
webpack - native
Errors 654 664 +10 (+ 1.53%) ~ ~ p=0.000 n=20
Symbols 933,265 944,297 +11,032 (+ 1.18%) ~ ~ p=0.000 n=20
Types 638,273 664,762 🔻+26,489 (+ 4.15%) ~ ~ p=0.000 n=20
Memory Used 756,364k (± 0.01%) 778,047k (± 0.01%) +21,683k (+ 2.87%) 777,658k 778,543k p=0.000 n=20
Memory Allocs 6,489,484 (± 0.12%) 6,763,268 (± 0.15%) 🔻+276,145 (+ 4.26%) 6,750,176 6,848,765 p=0.000 n=20
Config Time 0.007s (± 3.27%) 0.007s (± 2.08%) ~ 0.006s 0.007s p=0.129 n=20
Parse Time 0.248s (± 2.39%) 0.257s (± 3.06%) ~ 0.221s 0.281s p=0.070 n=20
Bind Time 0.071s (±13.11%) 0.068s (±12.89%) ~ 0.054s 0.119s p=0.812 n=20
Check Time 2.953s (± 0.27%) 3.183s (± 0.27%) 🔻+0.230s (+ 7.81%) 3.149s 3.217s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 3.313s (± 0.41%) 3.549s (± 0.38%) 🔻+0.235s (+ 7.09%) 3.507s 3.625s p=0.000 n=20
xstate-main - native
Errors 1 1 ~ ~ ~ p=1.000 n=20
Symbols 4,334,854 4,337,111 +2,257 (+ 0.05%) ~ ~ p=0.000 n=20
Types 4,458,178 4,463,517 +5,339 (+ 0.12%) ~ ~ p=0.000 n=20
Memory Used 2,397,085k (± 0.01%) 2,425,799k (± 0.01%) +28,742k (+ 1.20%) 2,425,249k 2,426,227k p=0.000 n=20
Memory Allocs 48,042,632 (± 0.01%) 48,277,179 (± 0.01%) +234,491 (+ 0.49%) 48,256,335 48,314,630 p=0.000 n=20
Config Time 0.005s (± 3.52%) 0.005s (± 2.93%) ~ 0.004s 0.005s p=0.270 n=20
Parse Time 0.258s (± 2.27%) 0.254s (± 2.01%) ~ 0.226s 0.277s p=0.287 n=20
Bind Time 0.072s (± 6.73%) 0.073s (± 8.95%) ~ 0.066s 0.126s p=0.507 n=20
Check Time 10.300s (± 0.38%) 10.424s (± 0.34%) +0.134s (+ 1.30%) 10.217s 10.507s p=0.001 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 10.646s (± 0.36%) 10.764s (± 0.31%) +0.128s (+ 1.20%) 10.549s 10.847s p=0.001 n=20
System info unknown
Hosts
  • native
Scenarios
  • Compiler-Unions - native
  • angular-1 - native
  • arktype - native
  • class-transformer - native
  • effect - native
  • mui-docs - native
  • sentry - native
  • social-app - native
  • strada-build-src - native
  • strada-compiler - native
  • t3code-server - native
  • tanstack-router - native
  • ts-pre-modules - native
  • vscode - native
  • webpack - native
  • xstate-main - native
Benchmark Name Iterations
Current pr 20
Baseline baseline 20

lsp

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
CompilerLSP - native
Req 1 - updateOpen 11ms (± 8.37%) 12ms (±10.89%) ~ 10ms 19ms p=0.759 n=20
Req 2 - geterr 250ms (± 0.61%) 268ms (± 0.62%) 🔻+18ms (+ 7.21%) 264ms 276ms p=0.000 n=20
Req 3 - references 43ms (± 1.82%) 43ms (± 1.84%) ~ 39ms 46ms p=0.410 n=20
Req 4 - navto 18ms (± 3.59%) 18ms (± 2.00%) ~ 17ms 20ms p=1.000 n=20
Req 5 - completionInfo count 1,525 1,525 ~ ~ ~ p=1.000 n=20
Req 5 - completionInfo 14ms (± 3.50%) 14ms (± 3.50%) ~ 12ms 16ms p=0.833 n=20
Compiler-UnionsLSP - native
Req 1 - updateOpen 11ms (±11.68%) 11ms (± 9.22%) ~ 9ms 15ms p=0.861 n=20
Req 2 - geterr 438ms (± 0.30%) 521ms (± 0.23%) 🔻+83ms (+18.89%) 517ms 526ms p=0.000 n=20
Req 3 - references 38ms (± 0.93%) 38ms (± 0.95%) ~ 37ms 40ms p=0.452 n=20
Req 4 - navto 17ms (± 2.82%) 17ms (± 2.05%) ~ 16ms 19ms p=0.117 n=20
Req 5 - completionInfo count 1,363 1,363 ~ ~ ~ p=1.000 n=20
Req 5 - completionInfo 16ms (± 5.63%) 16ms (± 6.01%) ~ 13ms 20ms p=0.570 n=20
xstate-main-1-LSP - native
⚠️ Failed failed failed
System info unknown
Hosts
  • native
Scenarios
  • CompilerLSP - native
  • Compiler-UnionsLSP - native
  • xstate-main-1-LSP - native
Benchmark Name Iterations
Current pr 20
Baseline baseline 20

startup

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
lsp-startup - native
⚠️ Failed failed failed
tsgo-startup - native
⚠️ Failed failed failed
System info unknown
Hosts
  • native
Scenarios
  • lsp-startup - native
  • tsgo-startup - native
Benchmark Name Iterations
Current pr 20
Baseline baseline 20

Developer Information:

Download Benchmarks

@weswigham

Copy link
Copy Markdown
Member Author

Experiment done, work will continue in #64375 - this one's going to be merged into the base PR behind a flag; we think the behavior is good, and a lot of the breaks it exposes have the potential to show real mistakes - we just think the change in control flow specificity needs to be opt-in, since existing code will fail to compile, and not always for provably correct reasons (sometimes it's just because you captured a refined control flow type and didn't repeat the refinement at a later assignment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant