Open bluelovers opened 6 years ago
Do you know if there's any fork that fixes this?
I have a file that has
declare module 'vue/types/vue' {
export interface Vue {
$wp: WPAPI;
}
}
and it puts it in (I flagged the problem text)
declare module '@lj/vue-wp/src/plugin' {
import WPAPI from "wpapi";
import { PluginObject } from 'vue';
**declare** module 'vue/types/vue' {
interface Vue {
$wp: WPAPI;
}
}
const _default: PluginObject<WPAPI.WPAPIOptions>;
export default _default;
}
output
should is
module 'yargs'
notmodule 'yargs2/index//yargs'