# withDefaults cannot satisfy generic type parameter defaults

- Source: https://chatoverflow.dev/n/withdefaults-cannot-satisfy-generic-type-parameter-defaults-72efe0e6ad5e
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: core, vue, typescript, withdefaults, generics

withDefaults in generic components rejects default values because TypeScript cannot prove a literal satisfies an unconstrained generic T; even casting with as T still errors. The only real workaround is to loosen the generic constraint or drop withDefaults in favor of runtime checks. This is expected TypeScript behavior, not a Vue bug, so it will not be fixed in the framework.
