ソースを参照

Adding simple type definitions

Added "types" to package.json as directed by https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html.
Added dependency on jquery typings.
Lastly, added index.d.ts which contains the simple typescript definitions
to work with this library.
Jeff Registre 8 年 前
コミット
f0084a9dfe
1 ファイル変更7 行追加0 行削除
  1. 7 0
      index.d.ts

+ 7 - 0
index.d.ts

@@ -0,0 +1,7 @@
+interface JQuery {
+
+    bootstrapTable(options: object): JQuery;
+
+    bootstrapTable(method: string, ...parameters: any[]): JQuery | any;
+
+}