diff --git a/types/index.d.ts b/types/index.d.ts index 6e3e75c..cc50ecd 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -31,4 +31,4 @@ declare module "vue/types/vue" { } } -export declare function install(V: typeof Vue): void +export default function VueRx(V: typeof Vue): void diff --git a/types/test/index.ts b/types/test/index.ts index 0b85359..9ce6cf3 100644 --- a/types/test/index.ts +++ b/types/test/index.ts @@ -1,5 +1,5 @@ import Vue from 'vue' -import * as VueRX from '../index' +import VueRX from '../index' import { interval }from 'rxjs' import { pluck, map } from 'rxjs/operators'