diff --git a/plugin.d.ts b/plugin.d.ts index a693e7fb..7f023b53 100644 --- a/plugin.d.ts +++ b/plugin.d.ts @@ -1,2 +1,11 @@ -declare const plugin: { handler: () => void }; +declare interface PluginOptions { + datatables?: boolean; + charts?: boolean; + forms?: boolean; + tooltips?: boolean; +} +declare function plugin(options?: PluginOptions): { handler: () => void }; +declare namespace plugin { + function handler(): void; +} export = plugin;