Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit128fda6

Browse files
committed
fix(chain-call)!: drop destructure support
1 parent2cbffa2 commit128fda6

File tree

3 files changed

+6
-35
lines changed

3 files changed

+6
-35
lines changed

‎.changeset/new-teachers-cough.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@vue-macros/chain-call":minor
3+
---
4+
5+
drop destructure support
6+

‎packages/chain-call/tests/__snapshots__/fixtures.test.ts.snap‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -51,29 +51,6 @@ export { declare as default };
5151
"
5252
`;
5353

54-
exports[`fixtures > tests/fixtures/destruct.vue 1`]=`
55-
"import{defineComponent,openBlock,createElementBlock,toDisplayString} from 'vue';
56-
import _export_sfc from '[NULL]/plugin-vue/export-helper';
57-
58-
var _sfc_main = /* @__PURE__ */ defineComponent({
59-
__name:"destruct",
60-
props: {
61-
foo: { type:String, required:false, default:"111" }
62-
},
63-
setup(__props) {
64-
const {foo }=__props;
65-
return (_ctx,_cache)=> {
66-
returnopenBlock(),createElementBlock("div",null,toDisplayString(foo));
67-
};
68-
}
69-
});
70-
71-
var destruct = /* @__PURE__ */ _export_sfc(_sfc_main, [__FILE__]);
72-
73-
export{destructasdefault};
74-
"
75-
`;
76-
7754
exports[`fixtures > tests/fixtures/empty.vue 1`]=`
7855
"import{defineComponent} from 'vue';
7956
import{expectTypeOf} from 'expect-type';

‎packages/chain-call/tests/fixtures/destruct.vue‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp