Skip to content

Commit

Permalink
fixes #12098
Browse files Browse the repository at this point in the history
  • Loading branch information
herman committed Oct 3, 2024
1 parent 29de6f8 commit 096b018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/apiSetupHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function defineProps() {
}

export type DefineProps<T, BKeys extends keyof T> = Readonly<T> & {
readonly [K in BKeys]-?: boolean
readonly [K in BKeys]-?: T[K]
}

type BooleanKey<T, K extends keyof T = keyof T> = K extends any
Expand Down

0 comments on commit 096b018

Please sign in to comment.