Skip to content

Instantiate conditional types within contextual type instantiation when inference candidates are available - #48838

Closed
Mateusz Burzyński (Andarist) wants to merge 14 commits into
microsoft:mainfrom
Andarist:fix/46201
Closed

Instantiate conditional types within contextual type instantiation when inference candidates are available#48838
Mateusz Burzyński (Andarist) wants to merge 14 commits into
microsoft:mainfrom
Andarist:fix/46201

Conversation

@Andarist

Copy link
Copy Markdown
Contributor

Fixes#46201
Highly related to #48823

The problem was that in this case, even though there were some inference candidates here, the conditional type was not instantiated "soon enough". It was especially surprising to me, as a user, as changing the position of this conditional type was fixing the issue:

 assignment: (ev: TEvent) => void
): ActionObject<TEvent>;
+type NoOp<T> = { [K in keyof T]: T[K] };+
declare function createMachine<
TTypesMeta extends TypegenConstraint = TypegenDisabled
>(
config: {
types?: TTypesMeta;
},
- action?: TTypesMeta extends TypegenEnabled- ? { action: ActionObject<{ type: 'WITH_TYPEGEN' }> }- : { action: ActionObject<{ type: 'WITHOUT_TYPEGEN' }> }+ action?: {+ action: TTypesMeta extends TypegenEnabled+ ? ActionObject<{ type: "WITH_TYPEGEN" }>+ : ActionObject<{ type: "WITHOUT_TYPEGEN" }>;+ >
): void;

You can checkout the playground with both variants here.

So how both of those cases were different?

The working variant was able to retrieve the contextualType within inferTypeArguments as:

TTypesMetaextendsTypegenEnabled ? ActionObject<{type: "WITH_TYPEGEN";}> : ActionObject<{type: "WITHOUT_TYPEGEN";}>

Where within getContextualTypeForObjectLiteralElement the getApparentTypeOfContextualType was returning:

{ action: TTypesMetaextendsTypegenEnabled ? ActionObject<{type: "WITH_TYPEGEN";}> : ActionObject<{type: "WITHOUT_TYPEGEN";}>;}|undefined

and from that type a type for the action property was unpackages by getTypeOfPropertyOfContextualType. So a conditional type itself, as a type for this property, was returned to inferTypeArguments and it was simply instantiated using instantiateType(contextualType, outerMapper), so the correct type was computed just fine here.

The problem with the broken variant was that the conditional type wasn't instantiated in getApparentTypeOfContextualType (while the contextualType there was this conditional type) and it was passed to mapType(instantiatedType, getApparentType, true). This converted the conditional type to a union of its branches:

{ action: ActionObject<{type: "WITH_TYPEGEN";}>;}|{ action: ActionObject<{type: "WITHOUT_TYPEGEN";}>;}|undefined

This has lost the relation between the condition and those union members.

So my idea is that we could just instantiate conditional types early to avoid such situations because if we can evaluate the condition it should always be better to focus on the resulting branch than to unionize both of them.

# Conflicts:
#	src/compiler/checker.ts
Comment threadsrc/compiler/checker.ts Outdated
@Andarist

Copy link
Copy Markdown
ContributorAuthor

Anders Hejlsberg (@ahejlsberg) this fix tries to fix the weird inconsistency where the position of the conditional type in the second parameter to a function call changes what is inferred for types without callable signatures (see the seemingly harmless position change in the diff presented at the top of this thread here, or play with this TS playground).

The problem is that the contextualType is a conditional type here and because it's not instantiated "soon enough", the type for an object property becomes a union of both branches of that conditional type. So the idea here is that if there are some inference candidates already, gathered from the previous argument then we should be able to resolve this conditional type - effectively choosing one of its branches. This allows the whole thing to be narrowed down correctly and as expected. It removes the weird effect that the inferred type is so sensitive to the position of the conditional type in the second argument.

Comment threadsrc/compiler/checker.ts Outdated
@AndaristMateusz Burzyński (Andarist) changed the title Instantiate conditional types within contextual type instantiationInstantiate types that select other types within contextual type instantiation when inference candidates are availableSep 30, 2022
@AndaristMateusz Burzyński (Andarist) changed the title Instantiate types that select other types within contextual type instantiation when inference candidates are availableInstantiate Simplifiable types within contextual type instantiation when inference candidates are availableOct 18, 2022

@weswighamWesley Wigham (weswigham) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, every time I come across contextual type instantiation I get more and more wishy-washy about when and why we do it. I'm pretty sure, in theory, we should always do it. But only if it'll be useful. But also not when it'll only produce "useless" constraint values. Except we also try to not do it when we don't think it'll be useful to avoid instantiation work. It's just so... eck.

In any case, this looks fine to me, actually, though in this case I somewhat want to defer to Anders Hejlsberg (@ahejlsberg) who may have stronger opinions on why/why not we should be instantiating contextual types with the active inference context. So I'm going to mark this as approved, but refrain from merging it until either Ryan Cavanaugh (@RyanCavanaugh) steps in and says "sure, we'll take this for this release" or Anders Hejlsberg (@ahejlsberg) weighs in one way or another.

@Andarist

Copy link
Copy Markdown
ContributorAuthor

Ryan Cavanaugh (@RyanCavanaugh)Anders Hejlsberg (@ahejlsberg) any thoughts on this approved PR?

@Andarist

Copy link
Copy Markdown
ContributorAuthor

Jake Bailey (@jakebailey) would you be so kind to create a playground for this PR? 😉

@jakebailey

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) pack this

@typescript-bot

TypeScript Bot (typescript-bot) commented Jun 17, 2023

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the tarball bundle task on this PR at be61797. You can monitor the build here.

@typescript-bot

TypeScript Bot (typescript-bot) commented Jun 17, 2023

Copy link
Copy Markdown
Contributor

Hey Jake Bailey (@jakebailey), I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
"devDependencies": {
"typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/155523/artifacts?artifactName=tgz&fileId=A9672AEAD8BCFC56C8944A8860A3134D31CD96CBF883AB651277F4D2F255ABA002&fileName=/typescript-5.2.0-insiders.20230617.tgz"
}
}

and then running npm install.


There is also a playground for this build and an npm module you can use via "typescript": "npm:@typescript-deploys/pr-build@5.2.0-pr-48838-5".;

@Andarist

Copy link
Copy Markdown
ContributorAuthor

thank you ❤️

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are some more interesting changes from running the top-repos suite

Details

outline/outline

tsconfig.json

reduxjs/reselect

test/tsconfig.json

type-tests/tsconfig.json

typescript_test/tsconfig.json

tailwindlabs/headlessui

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

packages/@headlessui-react/tsconfig.json

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the top-repos suite comparing main and refs/pull/48838/merge:

Something interesting changed - please have a look.

Details

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

calcom/cal.com Raw error text: RepoResults7/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

{"seq":856,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/swagger/next-env.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":857,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/next-env.d.ts"}}
{"seq":858,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/apps/api/test/lib/middleware/verifyApiKey.test.ts"],"openFiles":[]}}
{"seq":859,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/web/app/_trpc/client.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

  1. git clone https://github.com/calcom/cal.com --recurse-submodules
  2. In dir cal.com, run git reset --hard 070ec326aa5dd49ac895370193e74abe8af00339
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults7/calcom.cal.com.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@jakebailey

Copy link
Copy Markdown
Member

Seems like it wasn't a fluke, and this is very breaky?

@AndaristMateusz Burzyński (Andarist) changed the title Instantiate Simplifiable types within contextual type instantiation when inference candidates are availableInstantiate conditional types within contextual type instantiation when inference candidates are availableJan 11, 2024
@Andarist

Copy link
Copy Markdown
ContributorAuthor

Seems like it wasn't a fluke, and this is very breaky?

Yeah, it seems like it. I reviewed a couple of those and started work on extracting new test cases. I think that all of those might be related to instantiating indexed access types. This is something that wasn't originally in this PR - I only added it because it felt like maybe they would fall into the same category as conditional types. I removed this now and it would be cool to rerun all of those tests.

I will also take another look at the core issue. I created this PR almost 2 years ago and I learned a lot about the codebase in the meantime 😉 Maybe I will be able to figure out some alternative solution to the original issue (but maybe not).

@jakebailey

Copy link
Copy Markdown
Member

@typescript-bot

TypeScript Bot (typescript-bot) commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the diff-based user code test suite (tsserver) on this PR at e3f11a8. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the diff-based top-repos suite (tsserver) on this PR at e3f11a8. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the parallelized Definitely Typed test suite on this PR at e3f11a8. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the diff-based user code test suite on this PR at e3f11a8. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the regular perf test suite on this PR at e3f11a8. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the public perf test suite on this PR at e3f11a8. You can monitor the build here.

Update: The results are in!

@typescript-bot

TypeScript Bot (typescript-bot) commented Jan 11, 2024

Copy link
Copy Markdown
Contributor

Heya Jake Bailey (@jakebailey), I've started to run the diff-based top-repos suite on this PR at e3f11a8. You can monitor the build here.

Update: The results are in! Part 1, Part 2, Part 3

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the user test suite comparing main and refs/pull/48838/merge:

Everything looks good!

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the user test suite comparing main and refs/pull/48838/merge:

There were infrastructure failures potentially unrelated to your change:

  • 1 instance of "Package install failed"

Otherwise...

Something interesting changed - please have a look.

Details

puppeteer

packages/browsers/test/src/tsconfig.json

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
MetricbaselineprDeltaBestWorstp-value
mui-docs - node (v20.5.1, x64)
Memory used1,735,247k (± 0.00%)1,735,612k (± 0.00%)+366k (+ 0.02%)1,735,592k1,735,668kp=0.005 n=6
Parse Time6.83s (± 0.20%)6.85s (± 0.66%)~6.82s6.94sp=0.934 n=6
Bind Time2.43s (± 1.09%)2.42s (± 1.20%)~2.38s2.45sp=0.746 n=6
Check Time52.41s (± 0.35%)52.59s (± 0.68%)~52.09s53.14sp=0.230 n=6
Emit Time0.15s (± 0.00%)0.15s (± 0.00%)~0.15s0.15sp=1.000 n=6
Total Time61.82s (± 0.31%)62.01s (± 0.57%)~61.46s62.54sp=0.229 n=6
self-build-src - node (v20.5.1, x64)
Memory used2,601,912k (± 2.33%)2,659,740k (± 5.35%)~2,577,040k2,924,680kp=0.336 n=6
Parse Time5.02s (± 0.58%)5.04s (± 0.85%)~5.00s5.11sp=0.572 n=6
Bind Time1.99s (± 0.62%)1.99s (± 0.92%)~1.97s2.01sp=0.868 n=6
Check Time32.17s (± 0.53%)32.12s (± 0.31%)~31.95s32.24sp=0.810 n=6
Emit Time2.88s (± 2.75%)2.85s (± 1.37%)~2.81s2.90sp=0.376 n=6
Total Time42.07s (± 0.57%)42.02s (± 0.30%)~41.79s42.15sp=0.689 n=6
self-compiler - node (v20.5.1, x64)
Memory used419,733k (± 0.29%)419,242k (± 0.01%)~419,189k419,333kp=0.575 n=6
Parse Time2.87s (± 0.14%)2.90s (± 0.99%)~2.86s2.93sp=0.078 n=6
Bind Time1.14s (± 0.72%)1.13s (± 0.46%)~1.13s1.14sp=0.523 n=6
Check Time14.14s (± 0.31%)14.13s (± 0.31%)~14.05s14.17sp=0.807 n=6
Emit Time1.05s (± 1.66%)1.05s (± 1.84%)~1.04s1.09sp=1.000 n=6
Total Time19.21s (± 0.25%)19.21s (± 0.25%)~19.15s19.27sp=0.936 n=6
vscode - node (v20.5.1, x64)
Memory used2,828,072k (± 0.00%)2,828,061k (± 0.00%)~2,828,038k2,828,089kp=0.873 n=6
Parse Time10.72s (± 0.23%)10.70s (± 0.18%)~10.67s10.72sp=0.126 n=6
Bind Time3.41s (± 0.49%)3.42s (± 0.39%)~3.40s3.44sp=0.166 n=6
Check Time56.17s (± 0.35%)56.22s (± 0.31%)~55.96s56.44sp=0.630 n=6
Emit Time16.18s (± 0.64%)16.22s (± 0.23%)~16.17s16.27sp=0.809 n=6
Total Time86.49s (± 0.31%)86.56s (± 0.22%)~86.31s86.78sp=0.575 n=6
webpack - node (v20.5.1, x64)
Memory used390,788k (± 0.01%)390,761k (± 0.01%)~390,699k390,805kp=0.298 n=6
Parse Time3.31s (± 0.35%)3.31s (± 0.25%)~3.30s3.32sp=0.738 n=6
Bind Time1.43s (± 0.85%)1.43s (± 0.36%)~1.42s1.43sp=0.241 n=6
Check Time12.77s (± 0.26%)12.83s (± 0.35%)+0.06s (+ 0.47%)12.79s12.91sp=0.044 n=6
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)~0.00s0.00sp=1.000 n=6
Total Time17.51s (± 0.30%)17.57s (± 0.25%)~17.53s17.65sp=0.107 n=6
System info unknown
Hosts
  • node (v20.5.1, x64)
Scenarios
  • mui-docs - node (v20.5.1, x64)
  • self-build-src - node (v20.5.1, x64)
  • self-compiler - node (v20.5.1, x64)
  • vscode - node (v20.5.1, x64)
  • webpack - node (v20.5.1, x64)
BenchmarkNameIterations
Currentpr6
Baselinebaseline6

Developer Information:

Download Benchmarks

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
MetricbaselineprDeltaBestWorstp-value
Angular - node (v18.15.0, x64)
Memory used295,486k (± 0.01%)295,512k (± 0.01%)~295,475k295,550kp=0.298 n=6
Parse Time2.65s (± 0.24%)2.65s (± 0.28%)~2.64s2.66sp=0.718 n=6
Bind Time0.82s (± 0.63%)0.82s (± 0.50%)~0.82s0.83sp=0.595 n=6
Check Time8.15s (± 0.30%)8.14s (± 0.30%)~8.12s8.18sp=0.518 n=6
Emit Time7.09s (± 0.34%)7.12s (± 0.25%)~7.10s7.15sp=0.089 n=6
Total Time18.72s (± 0.27%)18.73s (± 0.18%)~18.68s18.78sp=0.872 n=6
Compiler-Unions - node (v18.15.0, x64)
Memory used191,538k (± 0.01%)193,450k (± 1.54%)~191,486k197,331kp=0.689 n=6
Parse Time1.35s (± 1.18%)1.34s (± 1.83%)~1.30s1.36sp=0.300 n=6
Bind Time0.72s (± 0.57%)0.72s (± 0.00%)~0.72s0.72sp=0.405 n=6
Check Time9.34s (± 0.26%)9.36s (± 0.29%)~9.32s9.39sp=0.164 n=6
Emit Time2.63s (± 0.52%)2.63s (± 0.31%)~2.62s2.64sp=0.605 n=6
Total Time14.04s (± 0.29%)14.05s (± 0.16%)~14.03s14.09sp=0.627 n=6
Monaco - node (v18.15.0, x64)
Memory used347,395k (± 0.00%)347,387k (± 0.00%)~347,372k347,403kp=0.375 n=6
Parse Time2.46s (± 0.36%)2.46s (± 0.65%)~2.45s2.49sp=0.437 n=6
Bind Time0.93s (± 0.56%)0.92s (± 0.59%)~0.92s0.93sp=0.640 n=6
Check Time6.86s (± 0.34%)6.88s (± 0.45%)~6.83s6.92sp=0.466 n=6
Emit Time4.04s (± 0.49%)4.04s (± 0.36%)~4.02s4.06sp=0.935 n=6
Total Time14.29s (± 0.23%)14.31s (± 0.22%)~14.28s14.36sp=0.517 n=6
TFS - node (v18.15.0, x64)
Memory used302,755k (± 0.01%)302,786k (± 0.00%)+31k (+ 0.01%)302,759k302,798kp=0.013 n=6
Parse Time1.99s (± 1.33%)1.99s (± 0.61%)~1.97s2.00sp=0.622 n=6
Bind Time1.01s (± 0.97%)1.01s (± 0.63%)~1.00s1.02sp=0.733 n=6
Check Time6.31s (± 0.49%)6.30s (± 0.35%)~6.28s6.34sp=0.805 n=6
Emit Time3.58s (± 0.27%)3.58s (± 0.46%)~3.56s3.60sp=0.867 n=6
Total Time12.90s (± 0.30%)12.88s (± 0.14%)~12.85s12.90sp=0.332 n=6
material-ui - node (v18.15.0, x64)
Memory used508,273k (± 0.00%)508,269k (± 0.00%)~508,240k508,304kp=0.810 n=6
Parse Time2.58s (± 0.64%)2.58s (± 0.67%)~2.55s2.60sp=1.000 n=6
Bind Time1.00s (± 1.23%)1.00s (± 1.38%)~0.98s1.01sp=1.000 n=6
Check Time17.11s (± 0.25%)17.09s (± 0.34%)~17.04s17.17sp=0.469 n=6
Emit Time0.00s (± 0.00%)0.00s (± 0.00%)~0.00s0.00sp=1.000 n=6
Total Time20.69s (± 0.19%)20.67s (± 0.24%)~20.61s20.74sp=0.377 n=6
xstate - node (v18.15.0, x64)
Memory used512,990k (± 0.01%)512,947k (± 0.02%)~512,808k513,087kp=0.423 n=6
Parse Time3.28s (± 0.30%)3.28s (± 0.30%)~3.27s3.29sp=0.604 n=6
Bind Time1.54s (± 0.41%)1.53s (± 0.87%)~1.51s1.55sp=0.203 n=6
Check Time2.84s (± 0.68%)2.84s (± 0.47%)~2.83s2.86sp=0.869 n=6
Emit Time0.07s (± 0.00%)0.07s (± 5.69%)~0.07s0.08sp=0.405 n=6
Total Time7.73s (± 0.13%)7.73s (± 0.51%)~7.68s7.79sp=0.567 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Angular - node (v18.15.0, x64)
  • Compiler-Unions - node (v18.15.0, x64)
  • Monaco - node (v18.15.0, x64)
  • TFS - node (v18.15.0, x64)
  • material-ui - node (v18.15.0, x64)
  • xstate - node (v18.15.0, x64)
BenchmarkNameIterations
Currentpr6
Baselinebaseline6

tsserver

Comparison Report - baseline..pr
MetricbaselineprDeltaBestWorstp-value
Compiler-UnionsTSServer - node (v18.15.0, x64)
Req 1 - updateOpen2,348ms (± 0.79%)2,357ms (± 0.81%)~2,331ms2,389msp=0.873 n=6
Req 2 - geterr5,458ms (± 0.86%)5,437ms (± 0.36%)~5,409ms5,462msp=0.471 n=6
Req 3 - references322ms (± 0.47%)322ms (± 0.51%)~320ms324msp=1.000 n=6
Req 4 - navto277ms (± 0.85%)277ms (± 0.00%)~277ms277msp=1.000 n=6
Req 5 - completionInfo count1,356 (± 0.00%)1,356 (± 0.00%)~1,3561,356p=1.000 n=6
Req 5 - completionInfo85ms (± 6.18%)82ms (± 3.13%)~79ms84msp=0.242 n=6
CompilerTSServer - node (v18.15.0, x64)
Req 1 - updateOpen2,479ms (± 0.62%)2,468ms (± 0.66%)~2,455ms2,499msp=0.149 n=6
Req 2 - geterr4,162ms (± 1.68%)4,178ms (± 1.85%)~4,093ms4,257msp=1.000 n=6
Req 3 - references333ms (± 1.37%)334ms (± 1.21%)~329ms338msp=0.808 n=6
Req 4 - navto285ms (± 1.19%)285ms (± 1.45%)~281ms291msp=1.000 n=6
Req 5 - completionInfo count1,518 (± 0.00%)1,518 (± 0.00%)~1,5181,518p=1.000 n=6
Req 5 - completionInfo78ms (± 8.04%)78ms (± 7.00%)~74ms88msp=1.000 n=6
xstateTSServer - node (v18.15.0, x64)
Req 1 - updateOpen2,601ms (± 0.78%)2,607ms (± 0.31%)~2,597ms2,619msp=0.936 n=6
Req 2 - geterr1,734ms (± 2.22%)1,719ms (± 1.83%)~1,684ms1,753msp=0.423 n=6
Req 3 - references112ms (± 9.15%)113ms (± 9.64%)~105ms127msp=0.742 n=6
Req 4 - navto365ms (± 0.23%)365ms (± 0.21%)~364ms366msp=0.432 n=6
Req 5 - completionInfo count2,073 (± 0.00%)2,073 (± 0.00%)~2,0732,073p=1.000 n=6
Req 5 - completionInfo309ms (± 1.48%)309ms (± 1.44%)~304ms316msp=1.000 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • CompilerTSServer - node (v18.15.0, x64)
  • Compiler-UnionsTSServer - node (v18.15.0, x64)
  • xstateTSServer - node (v18.15.0, x64)
BenchmarkNameIterations
Currentpr6
Baselinebaseline6

startup

Comparison Report - baseline..pr
MetricbaselineprDeltaBestWorstp-value
tsc-startup - node (v18.15.0, x64)
Execution time154.94ms (± 0.20%)154.83ms (± 0.20%)-0.12ms (- 0.07%)153.72ms156.98msp=0.001 n=600
tsserver-startup - node (v18.15.0, x64)
Execution time230.42ms (± 0.14%)230.66ms (± 0.24%)+0.24ms (+ 0.10%)229.23ms246.92msp=0.000 n=600
tsserverlibrary-startup - node (v18.15.0, x64)
Execution time231.03ms (± 0.18%)231.15ms (± 0.18%)+0.12ms (+ 0.05%)229.60ms234.66msp=0.007 n=600
typescript-startup - node (v18.15.0, x64)
Execution time231.05ms (± 0.22%)231.05ms (± 0.21%)~229.31ms237.65msp=0.789 n=600
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • tsc-startup - node (v18.15.0, x64)
  • tsserver-startup - node (v18.15.0, x64)
  • tsserverlibrary-startup - node (v18.15.0, x64)
  • typescript-startup - node (v18.15.0, x64)
BenchmarkNameIterations
Currentpr6
Baselinebaseline6

Developer Information:

Download Benchmarks

@typescript-bot

Copy link
Copy Markdown
Contributor

Hey Jake Bailey (@jakebailey), the results of running the DT tests are ready.
Everything looks the same!
You can check the log here.

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the top-repos suite comparing main and refs/pull/48838/merge:

Something interesting changed - please have a look.

Details

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

calcom/cal.com Raw error text: RepoResults7/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

{"seq":887,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/apps/swagger/next-env.d.ts"}},"skipDestructiveCodeActions":false}}
{"seq":888,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/next-env.d.ts"}}
{"seq":889,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/apps/api/test/lib/middleware/verifyApiKey.test.ts"],"openFiles":[]}}
{"seq":890,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/web/abTest/utils.ts","projectRootPath":"@PROJECT_ROOT@"}]}}

Repro steps

  1. git clone https://github.com/calcom/cal.com --recurse-submodules
  2. In dir cal.com, run git reset --hard 9901c91e9ba09cdf3f22d3add40bbf0143fa60e5
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults7/calcom.cal.com.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are the results of running the top-repos suite comparing main and refs/pull/48838/merge:

Something interesting changed - please have a look.

Details

chakra-ui/chakra-ui

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

packages/components/tsconfig.build.json

  • error TS5056: Cannot write file '/mnt/ts_downloads/chakra-ui/packages/components/dist/types/menu/menu.stories.d.ts' because it would be overwritten by multiple input files.
    • Project Scope

invoke-ai/InvokeAI

invokeai/frontend/web/tsconfig.json

  • error TS2322: Type 'CreateSelectorFunction<(func: UnknownFunction, equalityCheckOrOptions?: EqualityFn<any> | LruMemoizeOptions<unknown> | undefined) => UnknownFunction & { ...; }, <Func extends AnyFunction>(func: Func, equalityCheckOrOptions?: EqualityFn<...> | ... 1 more ... | undefined) => Func & { ...; }>' is not assignable to type 'CreateSelectorFunction<(<F extends AnyFunction>(f: F) => F), <F extends AnyFunction>(f: F) => F>'.

nextauthjs/next-auth

13 of 37 projects failed to build with the old tsc and were ignored

packages/adapter-mikro-orm/tsconfig.json

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are some more interesting changes from running the top-repos suite

Details

nextui-org/nextui

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

packages/core/theme/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/core/system-rsc/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/divider/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/spinner/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/button/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/avatar/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/input/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/accordion/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/scroll-shadow/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/chip/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/listbox/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/code/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/link/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/image/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/card/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/popover/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/autocomplete/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/switch/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/badge/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/menu/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/user/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/dropdown/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/tooltip/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/breadcrumbs/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/checkbox/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/kbd/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/modal/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/navbar/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/pagination/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/progress/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/radio/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/select/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ isDisabled?: boolean | boolean[] | undefined; variant?: "flat" | "light" | "shadow" | "solid" | "bordered" | "faded" | "ghost" | ("flat" | "light" | "shadow" | "solid" | "bordered" | "faded" | "ghost")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/skeleton/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/slider/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ size?: "sm" | "md" | "lg" | ("sm" | "md" | "lg")[] | undefined; color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & { ...; }'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/snippet/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/spacer/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/table/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/components/tabs/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

packages/core/react/tsconfig.json

  • error TS2353: Object literal may only specify known properties, and 'isRounded' does not exist in type '{ color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | ("default" | "primary" | "secondary" | "success" | "warning" | "danger")[] | undefined; size?: "sm" | "md" | "lg" | ("sm" | ... 1 more ... | "lg")[] | undefined; ... 6 more ...; isIconOnly?: boolean | ... 1 more ... | undefined; } & {...'.
  • error TS2353: Object literal may only specify known properties, and 'isBlurred' does not exist in type 'TVDefaultVariants<{ radius: { none: {}; sm: {}; md: {}; lg: {}; full: {}; }; shadow: { none: { wrapper: string; img: string; }; sm: { wrapper: string; img: string; }; md: { wrapper: string; img: string; }; lg: { wrapper: string; img: string; }; }; isZoomed: { ...; }; showSkeleton: { ...; }; disableAnimation: { ...; ...'.
  • error TS2353: Object literal may only specify known properties, and 'disableAnimation' does not exist in type 'TVDefaultVariants<{ color: { default: { td: string; }; primary: { td: string; }; secondary: { td: string; }; success: { td: string; }; warning: { td: string; }; danger: { td: string; }; }; layout: { auto: { table: string; }; fixed: { table: string; }; }; ... 8 more ...; fullWidth: { ...; }; }, { ...; }, { ...; }, { ...'.

@typescript-bot

Copy link
Copy Markdown
Contributor

Jake Bailey (@jakebailey) Here are some more interesting changes from running the top-repos suite

Details

reduxjs/reselect

test/tsconfig.json

type-tests/tsconfig.json

typescript_test/tsconfig.json

tailwindlabs/headlessui

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

packages/@headlessui-react/tsconfig.json

@Andarist

Copy link
Copy Markdown
ContributorAuthor

Oh, that's not great for me 😅 I'll have to extract some test cases out of this to add as tests to the repo, and... gonna get back to the drawing board to figure out a different fix for this.

@sandersn

Copy link
Copy Markdown
Member

Mateusz Burzyński (@Andarist) are you still working on this? Is it worth keeping this PR open?

@typescript-bot

Copy link
Copy Markdown
Contributor

With 6.0 out as the final release vehicle for this codebase, we're closing all PRs that don't fit the merge criteria for post-6.0 patches. If you think this was a mistake and this PR fits the post-6.0 patch criteria, please post to the 6.0 iteration issue with details (specifically, which PR and which patch criteria it satisfies).

Next steps for PRs:

  • For crash bugfixes or language service improvements, PRs are currently accepted at the typescript-go repo
  • Changes to type system behavior should wait until after 7.0, at which point mainline TypeScript development will resume in this repository with the Go codebase
  • Library file updates (lib.d.ts etc) continue to live in this repo or the DOM Generator repo as appropriate

@github-project-automationgithub-project-automationBot moved this from Needs merge to Done in PR BacklogMar 24, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For Backlog BugPRs that fix a backlog bug

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Nested call not inferred correctly when a conditional type tries to route to the final expected type

9 participants

@Andarist@jakebailey@typescript-bot@sandersn@davidkpiano@DanielRosenwasser@weswigham@jfet97@RyanCavanaugh