typescript TS7006 TS2339 error
ylucifer opened this issue · comments
ylucifer commented
generated code:
import { ref } from "@vue/composition-api";
const __sfc_main = {};
// TS7006 TS2339 error
__sfc_main.setup = (__props, __ctx) => {
// ....
};
export default __sfc_main;
expect code:
import { ref } from "@vue/composition-api";
const __sfc_main = {} as any;
__sfc_main.setup = (__props : any, __ctx : any) => {
// ....
};
export default __sfc_main;
I don't know how to config this plugin execute after ts-loader
ZHAO Jin-Xiang commented
Please disable type checking. See