camljs - improved import statement

This commit is contained in:
Andrei Markeev
2019-02-21 18:16:05 +02:00
parent ddd0732f08
commit b24b59a1bb
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import * as CamlBuilder from 'camljs'
import CamlBuilder from 'camljs'
var caml = new CamlBuilder().Where()
.Any(
+1 -1
View File
@@ -2,7 +2,7 @@
// Project: https://github.com/andrei-markeev/camljs
// Definitions by: Andrey Markeev <https://github.com/andrei-markeev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
declare class CamlBuilder {
constructor();
+2 -1
View File
@@ -14,7 +14,8 @@
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true
},
"files": [
"index.d.ts",