We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
1 parent a43f217 commit cf72855Copy full SHA for cf72855
packages/runtime-core/src/componentOptions.ts
@@ -429,10 +429,10 @@ export type StrictUnwrapAttrsType<
429
> = [keyof T] extends [never]
430
? Record<string, unknown>
431
: T extends new () => { $props: infer P }
432
- ? NonNullable<P>
+ ? Readonly<NonNullable<P>>
433
: T extends (props: infer P, ...args: any) => any
434
435
- : T
+ : Readonly<T>
436
437
export type ObjectWatchOptionItem = {
438
handler: WatchCallback | string
0 commit comments