Skip to content

Commit 3cca6bc

Browse files
committed
chore: fix snapshots
1 parent 6e3abc8 commit 3cca6bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ declare function __emit__(e: 'foo' | 'bar'): void
77
88
export function setup(_: {}, { emit: myEmit }: {
99
emit: typeof __emit__,
10-
slots: __Slots__,
10+
slots: Slots,
1111
attrs: Record<string, any>
1212
}) {
1313
1414
1515
return { }
1616
}
1717
18-
export default __defineComponent__({
18+
export default defineComponent({
1919
emits: [\\"foo\\", \\"bar\\", \\"baz\\"] as unknown as undefined,
2020
setup
2121
})"
@@ -57,7 +57,7 @@ export function setup(myProps: {
5757
return { }
5858
}
5959
60-
export default __defineComponent__({
60+
export default defineComponent({
6161
props: {
6262
string: { type: String, required: true },
6363
number: { type: Number, required: true },
@@ -96,7 +96,7 @@ export function setup() {
9696
return { }
9797
}
9898
99-
export default __defineComponent__({
99+
export default defineComponent({
100100
setup
101101
})"
102102
`;

0 commit comments

Comments
 (0)