Commit 0631347a authored by Leonardo Dominguez's avatar Leonardo Dominguez

add types declartion to support typescript

parent db0675f0
import Vue from "vue";
import ViewerJS from "viewerjs";
declare namespace Viewer {
export interface InstallationOptions {
name: string;
debug: boolean;
defaultOptions: ViewerJS.Options;
}
export function install(vue: typeof Vue, options?: InstallationOptions): void;
export function setDefaults(defaultOptions: ViewerJS.Options): void;
}
export default Viewer;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment