vue-reactive-provide
vue-reactive-provide copied to clipboard
Typescript definition
A typescript definition file would be useful.
Oof nearly three years 😞 I may take a crack at it, but might be for my use-case and not a full definition
For anyone looking, this will get you the Mixin working with TS
// vue-reactive-provide.d.ts
declare module 'vue-reactive-provide' {
import Vue, { VueConstructor } from 'vue';
interface ReactiveProvideMixinOptions {
attrs?: boolean;
include?: string[];
inheritAs?: boolean;
listeners?: boolean;
name?: string;
nameForComputed?: string;
props?: boolean;
}
function ReactiveProvideMixin(options: ReactiveProvideMixinOptions): VueConstructor<Vue>;
}