{"checkedAt":"2026-11-19","strict":true,"baselineCommit":"7c8a0f704f6eb762e86bbbcc4af5548e6c7532d2","submittedCommit":"5bf0ab0d2955100307565e1b5b47427f3cded64e","variants":{"baseline":"Original macro declarations and toRefs(object: T)","submitted":"TypePropsSource and per-field macro declarations, original toRefs","disjoint":"Original declarations with an early T[K] & boolean guard in BooleanKey","reverseMapped":"Original macro declarations with numeric-index-preserving, reverse-mapped and fallback toRefs overloads"},"fixtures":{"stringNumber":"import {defineProps,toRefs,withDefaults} from 'vue'\nfunction setup<T extends string | number>() {\n const props = defineProps<{options:readonly {value:T}[];value:T}>()\n toRefs(props).options.value.find(item=>item.value===props.value)\n const defaults = withDefaults(defineProps<{options:readonly {value:T}[];value:T;label?:string}>(),{label:'Choose'})\n toRefs(defaults).options.value.find(item=>item.value===defaults.value)\n}\n","unconstrained":"import {defineProps,toRefs,withDefaults} from 'vue'\nfunction setup<T>() {\n const props = defineProps<{options:readonly {value:T}[];value:T}>()\n toRefs(props).options.value.find(item=>item.value===props.value)\n const defaults = withDefaults(defineProps<{options:readonly {value:T}[];value:T;label?:string}>(),{label:'Choose'})\n toRefs(defaults).options.value.find(item=>item.value===defaults.value)\n}\n","maybeBoolean":"import {defineProps,toRefs,withDefaults} from 'vue'\nfunction setup<T extends string | boolean>() {\n const props = defineProps<{options:readonly {value:T}[];value:T}>()\n toRefs(props).options.value.find(item=>item.value===props.value)\n const defaults = withDefaults(defineProps<{options:readonly {value:T}[];value:T;label?:string}>(),{label:'Choose'})\n toRefs(defaults).options.value.find(item=>item.value===defaults.value)\n}\n","assignment":"import type { DefineProps } from 'vue'\ntype Previous<T,K extends keyof T> = Readonly<T> & { readonly[P in K]-?:boolean }\nfunction forward<T,K extends keyof T>(props: DefineProps<T,K>):Previous<T,K> {return props}\nfunction backward<T,K extends keyof T>(props: Previous<T,K>):DefineProps<T,K> {return props}\n","verter":"import { defineProps, toRefs } from 'vue'\nimport type { DefineProps } from 'vue'\ntype ExtractKeys<T> = T extends DefineProps<T,infer K extends keyof T> ? K : never\nfunction setup<T>() { return defineProps<{active?:boolean;options:readonly {value:T}[];value:T}>() }\ntype K = ExtractKeys<ReturnType<typeof setup<string>>>\ndeclare const key: K\nconst onlyActive: 'active' = key\nconst includesActive: K = 'active'\n"},"results":[{"variant":"baseline","name":"stringNumber","version":"Version 6.0.3","errors":[7006,7006]},{"variant":"baseline","name":"stringNumber","version":"Version 7.0.2","errors":[7006,7006]},{"variant":"baseline","name":"unconstrained","version":"Version 6.0.3","errors":[7006,7006]},{"variant":"baseline","name":"unconstrained","version":"Version 7.0.2","errors":[7006,7006]},{"variant":"baseline","name":"maybeBoolean","version":"Version 6.0.3","errors":[7006,7006]},{"variant":"baseline","name":"maybeBoolean","version":"Version 7.0.2","errors":[7006,7006]},{"variant":"baseline","name":"assignment","version":"Version 6.0.3","errors":[]},{"variant":"baseline","name":"assignment","version":"Version 7.0.2","errors":[]},{"variant":"baseline","name":"verter","version":"Version 6.0.3","errors":[]},{"variant":"baseline","name":"verter","version":"Version 7.0.2","errors":[]},{"variant":"submitted","name":"stringNumber","version":"Version 6.0.3","errors":[]},{"variant":"submitted","name":"stringNumber","version":"Version 7.0.2","errors":[]},{"variant":"submitted","name":"unconstrained","version":"Version 6.0.3","errors":[]},{"variant":"submitted","name":"unconstrained","version":"Version 7.0.2","errors":[]},{"variant":"submitted","name":"maybeBoolean","version":"Version 6.0.3","errors":[]},{"variant":"submitted","name":"maybeBoolean","version":"Version 7.0.2","errors":[]},{"variant":"submitted","name":"assignment","version":"Version 6.0.3","errors":[2322,2322]},{"variant":"submitted","name":"assignment","version":"Version 7.0.2","errors":[2322,2322]},{"variant":"submitted","name":"verter","version":"Version 6.0.3","errors":[]},{"variant":"submitted","name":"verter","version":"Version 7.0.2","errors":[]},{"variant":"disjoint","name":"stringNumber","version":"Version 6.0.3","errors":[]},{"variant":"disjoint","name":"stringNumber","version":"Version 7.0.2","errors":[]},{"variant":"disjoint","name":"unconstrained","version":"Version 6.0.3","errors":[7006,7006]},{"variant":"disjoint","name":"unconstrained","version":"Version 7.0.2","errors":[7006,7006]},{"variant":"disjoint","name":"maybeBoolean","version":"Version 6.0.3","errors":[7006,7006]},{"variant":"disjoint","name":"maybeBoolean","version":"Version 7.0.2","errors":[7006,7006]},{"variant":"disjoint","name":"assignment","version":"Version 6.0.3","errors":[]},{"variant":"disjoint","name":"assignment","version":"Version 7.0.2","errors":[]},{"variant":"disjoint","name":"verter","version":"Version 6.0.3","errors":[]},{"variant":"disjoint","name":"verter","version":"Version 7.0.2","errors":[]},{"variant":"reverseMapped","name":"stringNumber","version":"Version 6.0.3","errors":[]},{"variant":"reverseMapped","name":"stringNumber","version":"Version 7.0.2","errors":[]},{"variant":"reverseMapped","name":"unconstrained","version":"Version 6.0.3","errors":[]},{"variant":"reverseMapped","name":"unconstrained","version":"Version 7.0.2","errors":[]},{"variant":"reverseMapped","name":"maybeBoolean","version":"Version 6.0.3","errors":[]},{"variant":"reverseMapped","name":"maybeBoolean","version":"Version 7.0.2","errors":[]},{"variant":"reverseMapped","name":"assignment","version":"Version 6.0.3","errors":[]},{"variant":"reverseMapped","name":"assignment","version":"Version 7.0.2","errors":[]},{"variant":"reverseMapped","name":"verter","version":"Version 6.0.3","errors":[]},{"variant":"reverseMapped","name":"verter","version":"Version 7.0.2","errors":[]}],"checks":{"vueTypeScript6Suite":{"command":"pnpm test-dts","result":"passed"},"reactivityUnit":{"command":"pnpm exec vitest run --project unit packages/reactivity/__tests__/ref.spec.ts","result":"passed","tests":38},"verter":{"versions":["6.0.3","7.0.2"],"booleanKeyExtraction":"passed","regeneratedMacroConsumer":"passed"},"typeScript7Suite":{"result":"9 diagnostics in both baseline and candidate","note":"The full repository suite reports existing diagnostics in defineComponent, functionalComponent, and defineModel tests. Focused regressions pass."},"sfc":{"compiler":"vue-tsc 3.3.14 with TypeScript 6.0.3","fixtures":6,"results":[{"parameter":"T","defaults":false,"version":"baseline","errors":[7006]},{"parameter":"T","defaults":false,"version":"candidate","errors":[]},{"parameter":"T","defaults":true,"version":"baseline","errors":[7006]},{"parameter":"T","defaults":true,"version":"candidate","errors":[]},{"parameter":"T extends string | boolean","defaults":false,"version":"baseline","errors":[7006]},{"parameter":"T extends string | boolean","defaults":false,"version":"candidate","errors":[]},{"parameter":"T extends string | boolean","defaults":true,"version":"baseline","errors":[7006]},{"parameter":"T extends string | boolean","defaults":true,"version":"candidate","errors":[]},{"parameter":"T extends string | number","defaults":false,"version":"baseline","errors":[7006]},{"parameter":"T extends string | number","defaults":false,"version":"candidate","errors":[]},{"parameter":"T extends string | number","defaults":true,"version":"baseline","errors":[7006]},{"parameter":"T extends string | number","defaults":true,"version":"candidate","errors":[]}]},"sourceTypeScript6":{"command":"pnpm check","result":"passed"}}}