From ba972bef8a5fa3fcc8903282e694bbae673c05bf Mon Sep 17 00:00:00 2001 From: Klyachin Andrew Date: Sat, 28 Oct 2017 21:35:12 +0400 Subject: [PATCH] Export module BootstrapFileInput --- types/bootstrap-fileinput/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/bootstrap-fileinput/index.d.ts b/types/bootstrap-fileinput/index.d.ts index 8a7df2dbbc..00af8ab035 100644 --- a/types/bootstrap-fileinput/index.d.ts +++ b/types/bootstrap-fileinput/index.d.ts @@ -10,6 +10,9 @@ interface JQuery { fileinput: (options?: BootstrapFileInput.FileInputOptions) => JQuery; } +declare module 'bootstrap-fileinput' { + export = BootstrapFileInput; +} declare module BootstrapFileInput { interface FileInputOptions { @@ -19,6 +22,11 @@ declare module BootstrapFileInput { The locale JS file for the language code must be defined as mentioned in the translations section: http://plugins.krajee.com/file-input#translations */ language?: string; + + /** + * Theming + */ + theme?: string; /** Whether to display the file caption. Defaults to true.