chore: fix snapshots
This commit is contained in:
parent
6e3abc8605
commit
3cca6bc3a8
@ -7,7 +7,7 @@ declare function __emit__(e: 'foo' | 'bar'): void
|
|||||||
|
|
||||||
export function setup(_: {}, { emit: myEmit }: {
|
export function setup(_: {}, { emit: myEmit }: {
|
||||||
emit: typeof __emit__,
|
emit: typeof __emit__,
|
||||||
slots: __Slots__,
|
slots: Slots,
|
||||||
attrs: Record<string, any>
|
attrs: Record<string, any>
|
||||||
}) {
|
}) {
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ export function setup(_: {}, { emit: myEmit }: {
|
|||||||
return { }
|
return { }
|
||||||
}
|
}
|
||||||
|
|
||||||
export default __defineComponent__({
|
export default defineComponent({
|
||||||
emits: [\\"foo\\", \\"bar\\", \\"baz\\"] as unknown as undefined,
|
emits: [\\"foo\\", \\"bar\\", \\"baz\\"] as unknown as undefined,
|
||||||
setup
|
setup
|
||||||
})"
|
})"
|
||||||
@ -57,7 +57,7 @@ export function setup(myProps: {
|
|||||||
return { }
|
return { }
|
||||||
}
|
}
|
||||||
|
|
||||||
export default __defineComponent__({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
string: { type: String, required: true },
|
string: { type: String, required: true },
|
||||||
number: { type: Number, required: true },
|
number: { type: Number, required: true },
|
||||||
@ -96,7 +96,7 @@ export function setup() {
|
|||||||
return { }
|
return { }
|
||||||
}
|
}
|
||||||
|
|
||||||
export default __defineComponent__({
|
export default defineComponent({
|
||||||
setup
|
setup
|
||||||
})"
|
})"
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user