Skip to content

Negated Types: Remove the TypeFacts abstraction and make type refinements directly - #65298

Closed
Wesley Wigham (weswigham) wants to merge 26 commits into
mainfrom
weswigham/negated-types-remove-type-facts
Closed

Wesley Wigham (weswigham) wants to merge 26 commits into
mainfrom
weswigham/negated-types-remove-type-facts

Conversation

@weswigham

Copy link
Copy Markdown
Member

Negated types allow us to create refinements that function on generic types without a dedicated fact-propagation mechanism.

This is less bad, implementation-wise, than it was 5 years ago, thanks to improvements we've made to control flow since then, but we'll see how it is for performance.

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

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-remove-type-facts branch from 7b3a1af to 4c12244 Compare November 23, 2026 20:12
@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: assert

Package: assert

Branch error:

Project scope: tsconfig.json

Error: types/assert/assert-tests.ts:32:5
TypeScript@local expected type to be:
  number
got:
  number & not 0

types/assert/assert-tests.ts:44:5
TypeScript@local expected type to be:
  number
got:
  number & not 0
    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: jsonwebtoken

Package: jsonwebtoken

Branch error:

Project scope: tsconfig.json

Error: types/jsonwebtoken/jsonwebtoken-tests.ts:228:9
TypeScript@local expected type to be:
  string | JwtPayload
got:
  JwtPayload | (string & not "")

types/jsonwebtoken/jsonwebtoken-tests.ts:235:9
TypeScript@local expected type to be:
  string | JwtPayload
got:
  JwtPayload | (string & not "")

types/jsonwebtoken/jsonwebtoken-tests.ts:251:9
TypeScript@local expected type to be:
  string | JwtPayload
got:
  JwtPayload | (string & not "")

types/jsonwebtoken/jsonwebtoken-tests.ts:258:9
TypeScript@local expected type to be:
  string | JwtPayload
got:
  JwtPayload | (string & not "")

types/jsonwebtoken/jsonwebtoken-tests.ts:265:9
TypeScript@local expected type to be:
  string | Jwt | JwtPayload
got:
  Jwt | JwtPayload | (string & not "")
    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: telegram-web-app

Package: telegram-web-app

Branch error:

Project scope: tsconfig.json

Error: types/telegram-web-app/telegram-web-app-tests.ts:59:9
TypeScript@local expected type to be:
  string
got:
  string & not ""
    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: tryghost__admin-api

Package: tryghost__admin-api

Branch error:

Project scope: tsconfig.json

Error: types/tryghost__admin-api/tryghost__admin-api-tests.ts:21:13
TypeScript@local expected type to be:
  string
got:
  string & not ""
    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: tryghost__content-api

Package: tryghost__content-api

Branch error:

Project scope: tsconfig.json

Error: types/tryghost__content-api/tryghost__content-api-tests.ts:29:13
TypeScript@local expected type to be:
  string
got:
  string & not ""
    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: http-assert

Package: http-assert

Branch error:

Project scope: tsconfig.json

Error: types/http-assert/http-assert-tests.ts:18:5
TypeScript@local expected type to be:
  string
got:
  string & not ""

types/http-assert/http-assert-tests.ts:66:5
TypeScript@local expected type to be:
  string
got:
  string & not ""
    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: 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: wechat-miniprogram

Package: wechat-miniprogram

Branch error:

Project scope: tsconfig.json

Error: types/wechat-miniprogram/test/issue.test.ts:364:17
TypeScript@local expected type to be:
  string
got:
  string & not ""
    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: google.accounts

Package: google.accounts

Branch error:

Project scope: tsconfig.json

Error: types/google.accounts/google.accounts-tests.ts:276:9
TypeScript@local expected type to be:
  string
got:
  string & not ""
    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: chai

Package: chai

Branch error:

Project scope: tsconfig.json

Error: types/chai/chai-tests.ts:871:28
TypeScript@local compile error TS2349:
This expression is not callable.
  Type 'never' has no call signatures.
    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: chai/v4

Package: chai/v4

Branch error:

Project scope: tsconfig.json

Error: types/chai/v4/chai-tests.ts:1198:28
TypeScript@local compile error TS2349:
This expression is not callable.
  Type 'never' has no call signatures.
    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)

type-fest

tsconfig.json

uglify-js

/mnt/vss/work/1/s/ts_downloads//m/uglify-js/tsconfig.json

  • [NEW] error TS2365: Operator '+' cannot be applied to types 'number & not 0' and 'boolean'.
    • /mnt/vss/work/1/s/ts_downloads//m/uglify-js/node_modules/uglify-js/lib/compress.js(2527,54)
  • [NEW] error TS2339: Property 'has_side_effects' does not exist on type 'number & not 0'.
    • /mnt/vss/work/1/s/ts_downloads//m/uglify-js/node_modules/uglify-js/lib/compress.js(13822,46)
  • [MISSING] error TS2365: Operator '+' cannot be applied to types 'number' and 'boolean'.
    • /mnt/vss/work/1/s/ts_downloads//m/uglify-js/node_modules/uglify-js/lib/compress.js(2527,54)
  • [MISSING] error TS2339: Property 'has_side_effects' does not exist on type 'number'.
    • /mnt/vss/work/1/s/ts_downloads//m/uglify-js/node_modules/uglify-js/lib/compress.js(13822,46)

webpack

tsconfig.json

tsconfig.types.json

tsconfig.types.test.json

@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 41 ~ ~ ~ p=1.000 n=20
Symbols 88,381 88,435 +54 (+ 0.06%) ~ ~ p=0.000 n=20
Types 79,149 80,730 +1,581 (+ 2.00%) ~ ~ p=0.000 n=20
Memory Used 106,281k (± 0.02%) 107,579k (± 0.02%) +1,303k (+ 1.23%) 107,492k 107,683k p=0.000 n=20
Memory Allocs 1,045,709 (± 0.00%) 1,081,681 (± 0.01%) +35,985 (+ 3.44%) 1,081,524 1,081,951 p=0.000 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.037s (± 2.83%) 0.036s (± 3.12%) ~ 0.032s 0.040s p=0.316 n=20
Bind Time 0.012s (± 8.16%) 0.012s (± 7.69%) ~ 0.010s 0.017s p=0.732 n=20
Check Time 0.376s (± 0.77%) 0.470s (± 0.48%) 🔻+0.094s (+24.92%) 0.463s 0.482s p=0.000 n=20
Emit Time 0.214s (± 0.80%) 0.222s (± 1.08%) +0.008s (+ 3.76%) 0.217s 0.238s p=0.000 n=20
Total Time 0.645s (± 0.47%) 0.747s (± 0.47%) 🔻+0.103s (+15.94%) 0.737s 0.769s p=0.000 n=20
angular-1 - native
Errors 63 63 ~ ~ ~ p=1.000 n=20
Symbols 753,731 754,647 +916 (+ 0.12%) ~ ~ p=0.000 n=20
Types 546,699 549,515 +2,816 (+ 0.52%) ~ ~ p=0.000 n=20
Memory Used 642,582k (± 0.01%) 647,092k (± 0.02%) +4,496k (+ 0.70%) 646,752k 647,427k p=0.000 n=20
Memory Allocs 8,307,591 (± 0.04%) 8,490,262 (± 0.02%) +183,023 (+ 2.20%) 8,485,834 8,499,817 p=0.000 n=20
Config Time 0.013s (± 0.81%) 0.013s (± 0.81%) ~ 0.012s 0.013s p=1.000 n=20
Parse Time 0.205s (± 2.11%) 0.202s (± 2.39%) ~ 0.190s 0.226s p=0.422 n=20
Bind Time 0.062s (± 9.54%) 0.074s (±12.28%) 🔻+0.011s (+18.46%) 0.054s 0.109s p=0.048 n=20
Check Time 1.099s (± 0.82%) 1.172s (± 1.01%) 🔻+0.071s (+ 6.50%) 1.147s 1.213s p=0.000 n=20
Emit Time 0.733s (± 0.89%) 0.738s (± 0.43%) +0.006s (+ 0.75%) 0.729s 0.752s p=0.032 n=20
Total Time 2.131s (± 0.54%) 2.220s (± 0.43%) +0.084s (+ 3.95%) 2.191s 2.268s p=0.000 n=20
arktype - native
Errors 0 2 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 676,777 679,394 +2,617 (+ 0.39%) ~ ~ p=0.000 n=20
Types 937,629 941,143 +3,514 (+ 0.37%) ~ ~ p=0.000 n=20
Memory Used 473,850k (± 0.01%) 476,345k (± 0.01%) +2,490k (+ 0.53%) 476,097k 476,555k p=0.000 n=20
Memory Allocs 11,787,623 (± 0.01%) 11,530,272 (± 0.02%) -258,191 (- 2.19%) 11,527,177 11,540,894 p=0.000 n=20
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=20
Parse Time 0.068s (± 2.95%) 0.068s (± 2.86%) ~ 0.062s 0.076s p=0.845 n=20
Bind Time 0.020s (±10.35%) 0.019s (± 5.52%) ~ 0.017s 0.026s p=0.127 n=20
Check Time 1.467s (± 0.59%) 1.512s (± 0.60%) +0.046s (+ 3.14%) 1.480s 1.543s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.600s (± 0.53%) 1.604s (± 0.61%) ~ 1.569s 1.632s p=0.595 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,691 +126 (+ 1.67%) ~ ~ p=0.000 n=20
Memory Used 27,702k (± 0.03%) 27,738k (± 0.02%) +35k (+ 0.12%) 27,713k 27,768k p=0.000 n=20
Memory Allocs 231,580 (± 0.05%) 232,300 (± 0.05%) +687 (+ 0.30%) 231,962 232,856 p=0.000 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.017s (± 4.45%) 0.017s (± 4.32%) ~ 0.014s 0.019s p=0.586 n=20
Bind Time 0.006s (±12.06%) 0.005s (±14.14%) ~ 0.004s 0.008s p=0.140 n=20
Check Time 0.014s (± 5.61%) 0.016s (± 4.54%) 🔻+0.002s (+14.26%) 0.014s 0.019s p=0.005 n=20
Emit Time 0.015s (± 5.86%) 0.014s (± 6.50%) ~ 0.012s 0.018s p=0.244 n=20
Total Time 0.053s (± 1.68%) 0.054s (± 1.47%) ~ 0.051s 0.057s p=0.301 n=20
effect - native
Errors 12 14 🔻+2 (+16.67%) ~ ~ p=0.000 n=20
Symbols 1,234,260 1,234,680 +420 (+ 0.03%) ~ ~ p=0.000 n=20
Types 892,037 896,958 +4,921 (+ 0.55%) ~ ~ p=0.000 n=20
Memory Used 940,267k (± 0.01%) 948,120k (± 0.01%) +7,869k (+ 0.84%) 947,769k 948,514k p=0.000 n=20
Memory Allocs 11,703,928 (± 0.02%) 12,041,087 (± 0.08%) +332,954 (+ 2.84%) 12,030,451 12,127,114 p=0.000 n=20
Config Time 0.006s 0.006s ~ ~ ~ p=1.000 n=20
Parse Time 0.325s (± 1.36%) 0.331s (± 1.19%) ~ 0.317s 0.346s p=0.096 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 1.810s (± 0.55%) 1.942s (± 0.57%) 🔻+0.132s (+ 7.30%) 1.907s 1.986s p=0.000 n=20
Emit Time 0.948s (± 2.72%) 0.979s (± 2.81%) ~ 0.897s 1.081s p=0.165 n=20
Total Time 3.265s (± 0.65%) 3.430s (± 0.63%) 🔻+0.168s (+ 5.14%) 3.366s 3.526s p=0.000 n=20
mui-docs - native
Errors 11,405 11,410 +5 (+ 0.04%) ~ ~ p=0.000 n=20
Symbols 3,692,413 3,696,418 +4,005 (+ 0.11%) ~ ~ p=0.000 n=20
Types 1,351,476 1,357,541 +6,065 (+ 0.45%) ~ ~ p=0.000 n=20
Memory Used 1,654,359k (± 0.09%) 1,666,795k (± 0.08%) +12,001k (+ 0.73%) 1,660,560k 1,673,306k p=0.000 n=20
Memory Allocs 24,351,723 (± 0.09%) 24,815,055 (± 0.04%) +466,161 (+ 1.91%) 24,765,190 24,857,384 p=0.000 n=20
Config Time 0.016s (± 1.44%) 0.016s (± 1.31%) ~ 0.015s 0.017s p=0.944 n=20
Parse Time 0.552s (± 1.52%) 0.550s (± 1.68%) ~ 0.489s 0.582s p=0.860 n=20
Bind Time 0.002s (± 9.53%) 0.003s (±21.40%) ~ 0.002s 0.007s p=0.832 n=20
Check Time 5.499s (± 0.49%) 6.736s (± 0.56%) 🔻+1.227s (+22.31%) 6.641s 6.936s p=0.000 n=20
Emit Time 0.585s (± 5.35%) 0.636s (± 7.31%) ~ 0.501s 0.750s p=0.097 n=20
Total Time 7.610s (± 0.70%) 8.871s (± 0.60%) 🔻+1.252s (+16.45%) 8.678s 9.046s p=0.000 n=20
sentry - native
Errors 1 8 🔻+7 (+700.00%) ~ ~ p=0.000 n=20
Symbols 4,781,644 4,783,379 +1,735 (+ 0.04%) ~ ~ p=0.000 n=20
Types 2,590,383 2,620,050 +29,667 (+ 1.15%) ~ ~ p=0.000 n=20
Memory Used 2,790,454k (± 0.02%) 2,831,599k (± 0.03%) +40,873k (+ 1.46%) 2,829,629k 2,837,581k p=0.000 n=20
Memory Allocs 73,748,498 (± 0.09%) 75,202,285 (± 0.06%) +1,447,748 (+ 1.96%) 74,975,567 75,367,881 p=0.000 n=20
Config Time 0.044s (± 0.59%) 0.044s (± 0.68%) ~ 0.043s 0.045s p=0.089 n=20
Parse Time 1.012s (± 3.48%) 0.983s (± 1.36%) ~ 0.919s 1.024s p=0.368 n=20
Bind Time 0.298s (±11.15%) 0.286s (± 9.24%) ~ 0.235s 0.446s p=0.430 n=20
Check Time 13.177s (± 0.42%) 14.684s (± 0.23%) 🔻+1.500s (+11.38%) 14.577s 14.826s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 14.600s (± 0.35%) 16.066s (± 0.25%) 🔻+1.471s (+10.07%) 15.938s 16.275s p=0.000 n=20
social-app - native
Errors 0 2 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 1,838,865 1,828,955 -9,910 (- 0.54%) ~ ~ p=0.000 n=20
Types 1,146,817 1,151,834 +5,017 (+ 0.44%) ~ ~ p=0.000 n=20
Memory Used 938,436k (± 0.01%) 949,348k (± 0.01%) +10,925k (+ 1.16%) 948,918k 949,933k p=0.000 n=20
Memory Allocs 13,251,238 (± 0.11%) 13,505,503 (± 0.11%) +249,921 (+ 1.89%) 13,464,426 13,591,280 p=0.000 n=20
Config Time 0.013s (± 1.45%) 0.013s (± 1.45%) ~ 0.013s 0.014s p=0.282 n=20
Parse Time 0.333s (± 1.88%) 0.334s (± 1.51%) ~ 0.309s 0.349s p=0.596 n=20
Bind Time 0.087s (±12.40%) 0.085s (±12.11%) ~ 0.070s 0.141s p=0.546 n=20
Check Time 2.844s (± 0.54%) 3.010s (± 0.60%) 🔻+0.167s (+ 5.86%) 2.932s 3.050s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 3.299s (± 0.32%) 3.464s (± 0.36%) 🔻+0.164s (+ 4.98%) 3.418s 3.500s p=0.000 n=20
strada-build-src - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 1,182,486 1,184,205 +1,719 (+ 0.15%) ~ ~ p=0.000 n=20
Types 435,482 448,107 +12,625 (+ 2.90%) ~ ~ p=0.000 n=20
Memory Used 1,170,503k (± 0.42%) 1,179,469k (± 0.48%) +9,300k (+ 0.79%) 1,160,594k 1,202,743k p=0.036 n=20
Memory Allocs 39,986,661 (± 0.05%) 44,535,914 (± 0.12%) 🔻+4,559,143 (+11.40%) 44,332,809 44,688,912 p=0.000 n=20
Config Time 0.004s (±13.05%) 0.005s (±11.75%) ~ 0.002s 0.007s p=0.367 n=20
Parse Time 0.284s (± 1.59%) 0.289s (± 1.72%) ~ 0.269s 0.305s p=0.241 n=20
Bind Time 0.000s (±208.60%) 0.000s ~ ~ ~ p=1.000 n=20
Check Time 1.706s (± 0.35%) 2.102s (± 0.35%) 🔻+0.395s (+23.18%) 2.070s 2.126s p=0.000 n=20
Emit Time 0.306s (± 1.46%) 0.290s (± 3.02%) 🟩-0.018s (- 5.93%) 0.261s 0.330s p=0.012 n=20
Total Time 20.480s (± 0.32%) 24.124s (± 0.29%) 🔻+3.627s (+17.71%) 23.864s 24.461s p=0.000 n=20
strada-compiler - native
Errors 0 0 ~ ~ ~ p=1.000 n=20
Symbols 262,136 263,818 +1,682 (+ 0.64%) ~ ~ p=0.000 n=20
Types 195,074 203,238 🔻+8,164 (+ 4.19%) ~ ~ p=0.000 n=20
Memory Used 221,432k (± 0.02%) 229,539k (± 0.03%) +8,104k (+ 3.66%) 229,270k 229,776k p=0.000 n=20
Memory Allocs 1,885,156 (± 0.02%) 2,191,529 (± 0.01%) 🔻+306,362 (+16.25%) 2,190,298 2,192,494 p=0.000 n=20
Config Time 0.001s 0.001s ~ ~ ~ p=1.000 n=20
Parse Time 0.105s (± 4.02%) 0.105s (± 3.75%) ~ 0.092s 0.118s p=0.799 n=20
Bind Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Check Time 0.835s (± 0.46%) 1.084s (± 0.45%) 🔻+0.249s (+29.86%) 1.068s 1.111s p=0.000 n=20
Emit Time 0.088s (± 3.82%) 0.094s (± 5.66%) ~ 0.081s 0.111s p=0.156 n=20
Total Time 1.075s (± 0.47%) 1.332s (± 0.57%) 🔻+0.259s (+24.04%) 1.301s 1.358s p=0.000 n=20
t3code-server - native
Errors 0 1 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 4,344,905 4,345,258 +353 (+ 0.01%) ~ ~ p=0.000 n=20
Types 3,038,855 3,087,925 +49,070 (+ 1.61%) ~ ~ p=0.000 n=20
Memory Used 2,392,665k (± 0.02%) 2,420,878k (± 0.02%) +28,271k (+ 1.18%) 2,419,503k 2,422,340k p=0.000 n=20
Memory Allocs 36,913,372 (± 0.03%) 37,913,330 (± 0.05%) +994,547 (+ 2.69%) 37,868,255 38,045,342 p=0.000 n=20
Config Time 0.006s (± 1.75%) 0.006s (± 2.43%) ~ 0.005s 0.006s p=1.000 n=20
Parse Time 0.558s (± 2.08%) 0.546s (± 2.05%) ~ 0.504s 0.592s p=0.087 n=20
Bind Time 0.151s (±10.54%) 0.150s (± 8.99%) ~ 0.130s 0.238s p=0.401 n=20
Check Time 12.154s (± 0.43%) 13.226s (± 0.63%) 🔻+1.075s (+ 8.85%) 12.840s 13.501s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 12.884s (± 0.44%) 13.945s (± 0.60%) 🔻+1.060s (+ 8.22%) 13.594s 14.210s p=0.000 n=20
tanstack-router - native
Errors 3 3 ~ ~ ~ p=1.000 n=20
Symbols 567,259 567,904 +645 (+ 0.11%) ~ ~ p=0.000 n=20
Types 395,492 397,741 +2,249 (+ 0.57%) ~ ~ p=0.000 n=20
Memory Used 311,004k (± 0.01%) 314,337k (± 0.01%) +3,342k (+ 1.07%) 314,208k 314,496k p=0.000 n=20
Memory Allocs 3,964,361 (± 0.03%) 4,024,070 (± 0.04%) +59,590 (+ 1.50%) 4,017,969 4,033,127 p=0.000 n=20
Config Time 0.002s 0.002s ~ ~ ~ p=1.000 n=20
Parse Time 0.079s (± 3.79%) 0.082s (± 4.01%) ~ 0.072s 0.098s p=0.205 n=20
Bind Time 0.026s (±11.56%) 0.025s (±12.12%) ~ 0.020s 0.037s p=0.395 n=20
Check Time 1.002s (± 0.70%) 1.031s (± 0.59%) +0.030s (+ 2.95%) 1.003s 1.051s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 1.113s (± 0.52%) 1.143s (± 0.73%) +0.028s (+ 2.51%) 1.118s 1.178s p=0.000 n=20
ts-pre-modules - native
Errors 87 87 ~ ~ ~ p=1.000 n=20
Symbols 230,300 231,129 +829 (+ 0.36%) ~ ~ p=0.000 n=20
Types 180,510 187,981 🔻+7,471 (+ 4.14%) ~ ~ p=0.000 n=20
Memory Used 190,451k (± 0.01%) 198,260k (± 0.02%) 🔻+7,808k (+ 4.10%) 198,082k 198,405k p=0.000 n=20
Memory Allocs 1,284,192 (± 0.01%) 1,553,239 (± 0.01%) 🔻+269,044 (+20.95%) 1,552,800 1,553,961 p=0.000 n=20
Config Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Parse Time 0.073s (± 3.80%) 0.073s (± 3.48%) ~ 0.063s 0.084s p=0.368 n=20
Bind Time 0.028s (± 8.72%) 0.029s (± 7.36%) ~ 0.022s 0.039s p=0.453 n=20
Check Time 0.537s (± 0.79%) 0.675s (± 0.65%) 🔻+0.139s (+25.86%) 0.661s 0.697s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 0.648s (± 0.64%) 0.789s (± 0.59%) 🔻+0.142s (+21.91%) 0.776s 0.812s p=0.000 n=20
vscode - native
Errors 0 24 🔻NaN (+ ∞%) ~ ~ p=0.000 n=20
Symbols 8,732,467 8,728,006 -4,461 (- 0.05%) ~ ~ p=0.000 n=20
Types 5,070,683 5,151,450 +80,767 (+ 1.59%) ~ ~ p=0.000 n=20
Memory Used 5,814,324k (± 0.02%) 5,883,258k (± 0.03%) +68,623k (+ 1.18%) 5,878,410k 5,892,421k p=0.000 n=20
Memory Allocs 64,490,687 (± 0.03%) 67,835,749 (± 0.04%) 🔻+3,343,984 (+ 5.19%) 67,783,925 67,985,532 p=0.000 n=20
Config Time 0.047s (± 0.60%) 0.046s (± 0.95%) ~ 0.046s 0.050s p=0.977 n=20
Parse Time 1.735s (± 1.83%) 1.748s (± 2.34%) ~ 1.588s 1.922s p=0.595 n=20
Bind Time 0.537s (±11.08%) 0.558s (± 9.90%) ~ 0.468s 0.874s p=0.332 n=20
Check Time 13.445s (± 0.67%) 14.708s (± 0.75%) 🔻+1.293s (+ 9.62%) 14.223s 14.915s p=0.000 n=20
Emit Time 4.134s (± 7.49%) 4.301s (± 8.95%) ~ 3.637s 5.517s p=0.294 n=20
Total Time 19.965s (± 1.39%) 21.442s (± 1.42%) 🔻+1.446s (+ 7.24%) 20.910s 22.475s p=0.000 n=20
webpack - native
Errors 654 662 +8 (+ 1.22%) ~ ~ p=0.000 n=20
Symbols 940,393 964,991 +24,598 (+ 2.62%) ~ ~ p=0.000 n=20
Types 642,958 685,752 🔻+42,794 (+ 6.66%) ~ ~ p=0.000 n=20
Memory Used 759,091k (± 0.01%) 1,002,926k (± 0.01%) 🔻+243,828k (+32.12%) 1,002,502k 1,003,366k p=0.000 n=20
Memory Allocs 6,511,789 (± 0.11%) 7,647,428 (± 0.14%) 🔻+1,133,342 (+17.40%) 7,628,724 7,724,830 p=0.000 n=20
Config Time 0.007s (± 3.27%) 0.007s (± 3.07%) ~ 0.006s 0.007s p=0.777 n=20
Parse Time 0.250s (± 2.43%) 0.251s (± 3.28%) ~ 0.233s 0.289s p=0.985 n=20
Bind Time 0.072s (±10.63%) 0.071s (±12.17%) ~ 0.054s 0.113s p=0.674 n=20
Check Time 2.791s (± 0.31%) 9.065s (± 0.81%) 🔻+6.241s (+223.61%) 8.974s 9.689s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 3.156s (± 0.39%) 9.428s (± 0.81%) 🔻+6.236s (+197.58%) 9.314s 10.070s p=0.000 n=20
xstate-main - native
Errors 1 12 🔻+11 (+1,100.00%) ~ ~ p=0.000 n=20
Symbols 4,115,561 4,117,547 +1,986 (+ 0.05%) ~ ~ p=0.000 n=20
Types 4,217,216 4,221,388 +4,172 (+ 0.10%) ~ ~ p=0.000 n=20
Memory Used 2,271,302k (± 0.01%) 2,297,737k (± 0.01%) +26,411k (+ 1.16%) 2,297,371k 2,298,318k p=0.000 n=20
Memory Allocs 45,226,865 (± 0.01%) 45,583,641 (± 0.02%) +352,089 (+ 0.78%) 45,567,241 45,660,701 p=0.000 n=20
Config Time 0.005s (± 3.52%) 0.005s (± 4.36%) ~ 0.004s 0.005s p=1.000 n=20
Parse Time 0.250s (± 2.27%) 0.247s (± 2.28%) ~ 0.225s 0.263s p=0.640 n=20
Bind Time 0.077s (±10.55%) 0.082s (±13.39%) ~ 0.064s 0.130s p=0.523 n=20
Check Time 10.121s (± 0.42%) 10.298s (± 0.30%) +0.165s (+ 1.63%) 10.189s 10.413s p=0.000 n=20
Emit Time 0.000s 0.000s ~ ~ ~ p=1.000 n=20
Total Time 10.462s (± 0.37%) 10.643s (± 0.25%) +0.172s (+ 1.65%) 10.542s 10.745s p=0.000 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

Developer Information:

Download Benchmarks

@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

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

Dokploy/dokploy

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

packages/server/tsconfig.json

packages/server/tsconfig.server.no-decl.json

apps/schedules/tsconfig.json

apps/dokploy/tsconfig.json

apps/api/tsconfig.json

fastapi/full-stack-fastapi-template

frontend/tsconfig.build.json

  • error TS2322: Type 'QuerySerializer | (QuerySerializerOptionsObject & { parameters?: Record<string, QuerySerializerOptionsObject> | undefined; } & Function)' is not assignable to type 'QuerySerializer'.

frontend/tsconfig.json

  • error TS2322: Type 'QuerySerializer | (QuerySerializerOptionsObject & { parameters?: Record<string, QuerySerializerOptionsObject> | undefined; } & Function)' is not assignable to type 'QuerySerializer'.

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

  • 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'.

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'.

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'.

kortix-ai/CompanyOS

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

tests/tsconfig.json

packages/white-label-shared/tsconfig.json

packages/ui/tsconfig.build.json

packages/ui/tsconfig.json

packages/sdk/tsconfig.build.json

packages/sdk/tsconfig.json

packages/sdk/playground/tsconfig.json

packages/sdk/examples/tsconfig.json

apps/white-label/team-console/tsconfig.json

apps/white-label/reskin/tsconfig.json

apps/white-label/lumen/tsconfig.json

apps/white-label/lumen/convex/tsconfig.json

apps/kortix-sandbox-agent-server/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

examples/node-state-style/tsconfig.json

  • error TS2322: Type 'InitialSelectedNodeState | SelectedNodeState | { editor: LexicalEditor; editorState: EditorState; cached: string | ... 5 more ... | ...; panelNode: LexicalNode | null; panelNodeKey: string; selectionNodeKey: string | null; }' is not assignable to type 'SelectedNodeState'.

dev-examples/mdast-editor/tsconfig.json

dev-examples/hmr/tsconfig.json

dev-examples/dom-import/tsconfig.json

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

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/cap-vite/tsconfig.json

  • error TS2684: The 'this' context of type 'ServerHook | ({ handler: ServerHook; } & ObjectHookMeta & Function)' is not assignable to method's 'this' of type 'Function & ((this: MinimalPluginContextWithoutEnvironment, server: ViteDevServer) => void | Promise<void | ...> | ...)'.

outline/outline

tsconfig.json

paperclipai/paperclip

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

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

packages/paperclip-runner/tsconfig.surfaces.test.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

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

  • error TS2339: Property 'id' does not exist on type 'Record<string, { id?: string | undefined; label?: string | undefined; config?: any; prompts?: string[] | undefined; transform?: string | TransformFunction | undefined; delay?: number | undefined; env?: ... | undefined; inputs?: Record<...> | undefined; }> | ... | (CallApiFunction & ... 1 more ... & not string)'.
  • error TS2339: Property 'id' does not exist on type 'Record<string, { id?: string | undefined; label?: string | undefined; config?: any; prompts?: string[] | undefined; transform?: string | TransformFunction | undefined; delay?: number | undefined; env?: ... | undefined; inputs?: Record<...> | undefined; }> | ... | (CallApiFunction & ...)'.
  • error TS2638: Type 'Awaited<T> & {} & not "" & not 0 & not 0n & not false' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.

pubkey/rxdb

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

config/tsconfig.types.json

  • 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__"]'.
  • error TS2339: Property 'map' does not exist on type 'Awaited<RxQueryResult> & {} & not "" & not 0 & not 0n & not false'.
  • error TS7006: Parameter 'doc' implicitly has an 'any' type.
  • error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
  • error TS2339: Property 'entries' does not exist on type 'never'.

react-hook-form/react-hook-form

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

tsconfig.json

  • error TS2367: This comparison appears to be unintentional because the types '"" | 0 | 0n | false | null | undefined' and 'true' have no overlap.

src/__typetest__/tsconfig.json

  • error TS2367: This comparison appears to be unintentional because the types '"" | 0 | 0n | false | null | undefined' and 'true' have no overlap.

react-navigation/react-navigation

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

tsconfig.json

example/__typechecks__/standalone/static/tsconfig.json

example/__typechecks__/standalone/dynamic/tsconfig.json

recharts/recharts

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

test-vr/tsconfig.json

test/tsconfig.json

RSSNext/Folo

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

apps/landing/tsconfig.json

SBoudrias/Inquirer.js

tsconfig.json

packages/testing/tsconfig.json

packages/select/tsconfig.json

packages/search/tsconfig.json

packages/rawlist/tsconfig.json

packages/prompts/tsconfig.json

packages/password/tsconfig.json

packages/number/tsconfig.json

packages/inquirer/tsconfig.json

packages/input/tsconfig.json

packages/i18n/tsconfig.json

packages/expand/tsconfig.json

packages/editor/tsconfig.json

packages/demo/tsconfig.json

packages/core/tsconfig.json

packages/confirm/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 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 TS7053: Element implicitly has an 'any' type because expression of type 'string & not ""' can't be used to index type '{ "\u21E5": string; "\u232B": string; "\u2326": string; "\u21A9": string; }'.

solidjs/solid

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

packages/signals/tsconfig.build.json

supabase/supabase

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

apps/studio/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

TanStack/query

211 of 267 projects failed to build with the old tsc and were ignored

packages/vue-query/tsconfig.legacy.json

packages/vue-query/tsconfig.prod.json

packages/solid-query-persist-client/tsconfig.json

packages/solid-query-persist-client/tsconfig.legacy.json

packages/solid-query-persist-client/tsconfig.prod.json

packages/solid-query-devtools/tsconfig.json

packages/solid-query-devtools/tsconfig.legacy.json

packages/solid-query/tsconfig.legacy.json

packages/solid-query/tsconfig.prod.json

packages/react-query-persist-client/tsconfig.json

packages/react-query-persist-client/tsconfig.legacy.json

packages/react-query-persist-client/tsconfig.prod.json

packages/react-query-next-experimental/tsconfig.json

packages/react-query-next-experimental/tsconfig.legacy.json

packages/react-query-next-experimental/tsconfig.prod.json

packages/react-query-devtools/tsconfig.json

packages/react-query-devtools/tsconfig.legacy.json

packages/react-query/tsconfig.legacy.json

packages/react-query/tsconfig.prod.json

packages/query-sync-storage-persister/tsconfig.json

packages/query-sync-storage-persister/tsconfig.legacy.json

packages/query-sync-storage-persister/tsconfig.prod.json

packages/query-persist-client-core/tsconfig.legacy.json

packages/query-persist-client-core/tsconfig.prod.json

packages/query-devtools/tsconfig.legacy.json

packages/query-devtools/tsconfig.prod.json

packages/query-core/tsconfig.legacy.json

packages/query-core/tsconfig.prod.json

packages/query-broadcast-client-experimental/tsconfig.json

packages/query-broadcast-client-experimental/tsconfig.legacy.json

packages/query-broadcast-client-experimental/tsconfig.prod.json

packages/query-async-storage-persister/tsconfig.json

packages/query-async-storage-persister/tsconfig.legacy.json

packages/query-async-storage-persister/tsconfig.prod.json

packages/preact-query-persist-client/tsconfig.json

packages/preact-query-persist-client/tsconfig.legacy.json

packages/preact-query-persist-client/tsconfig.prod.json

packages/preact-query-devtools/tsconfig.json

packages/preact-query-devtools/tsconfig.legacy.json

packages/preact-query/tsconfig.legacy.json

packages/preact-query/tsconfig.prod.json

packages/lit-query/tsconfig.json

packages/lit-query/tsconfig.legacy.json

packages/lit-query/tsconfig.prod.json

packages/angular-query-persist-client/tsconfig.json

packages/angular-query-persist-client/tsconfig.prod.json

[packages/angular-query-devto

:error: Truncated - see log for full output :error:

@typescript-automation

Copy link
Copy Markdown
Contributor

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

Details

teableio/teable

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

apps/nextjs-app/tsconfig.json

trpc/trpc

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

packages/openapi/tsconfig.json

upstash/context7

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

packages/mcp/tsconfig.json

vercel/ai

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

examples/ai-e2e-next/tsconfig.json

@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 4c12244 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.65298.9"
    }
}

and then running npm install.

There is also a playground for this build.

@weswigham

Copy link
Copy Markdown
Member Author

Experiment done, work will continue in #64375 - this one's not gonna be taken. It's a big perf loss, even if conceptually building types is "sufficient".

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