所以我有一个函数,把一个类作为一个参数。const decorate = function () return function ( target: any ) return class myExtendClass extendstarget{}};@decorate()不幸的是,我得到了type any is not a constructor function
因此,我创建了一个新项目,并将页面、提供、组件文件夹替换为我在将插件导入app.modulte.ts文件后得到的错误,因为'Type 'any‘不是构造函数类型。’17:39:48] typescript: node_modules/@ionic-native/app-version/index.d.ts, line: 25
Type 'anyL127: export declare class Ge