Skip to content

Commit

Permalink
Types definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Apr 20, 2023
1 parent 8d0a540 commit 44d74e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { Plugin, Ref } from 'vue';

export type InstallFunction = Plugin & { installed?: boolean; wampClient?: IWampClient };

export type OnOpenCallback = () => void;
export type OnCloseCallback = (code: number, reason: string | null) => void;
export type OnConnectCallback = () => void;
Expand Down Expand Up @@ -105,3 +103,5 @@ export enum MessageCode {
MSG_PUBLISH = 7,
MSG_EVENT = 8,
}

export type InstallFunction = Plugin & { installed?: boolean; wampClient?: IWampClient };

0 comments on commit 44d74e5

Please sign in to comment.