vue-lazy-calc
Version:
A simple calculator with lazy evaluation featuer
20 lines (17 loc) • 380 B
TypeScript
import Vue, { VueConstructor } from "vue";
import { ILazyBase } from "./main";
declare module "vue/types/vue" {
interface Vue {
$lzCalc: ILazyBase;
}
interface VueConstructor {
$lzCalc: ILazyBase;
}
}
declare module "vue/types/options" {
interface ComponentOptions<V extends Vue> {
$lzCalc?: ILazyBase;
}
}
export { VueConstructor };
export default Vue;