From b24b59a1bb703a5017d4532163e779a28e017aa0 Mon Sep 17 00:00:00 2001 From: Andrei Markeev Date: Thu, 21 Feb 2019 18:16:05 +0200 Subject: [PATCH] camljs - improved import statement --- types/camljs/camljs-tests.ts | 2 +- types/camljs/index.d.ts | 2 +- types/camljs/tsconfig.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/types/camljs/camljs-tests.ts b/types/camljs/camljs-tests.ts index e00a4d2f97..034949175c 100644 --- a/types/camljs/camljs-tests.ts +++ b/types/camljs/camljs-tests.ts @@ -1,4 +1,4 @@ -import * as CamlBuilder from 'camljs' +import CamlBuilder from 'camljs' var caml = new CamlBuilder().Where() .Any( diff --git a/types/camljs/index.d.ts b/types/camljs/index.d.ts index 0577554f02..b8f4021ded 100644 --- a/types/camljs/index.d.ts +++ b/types/camljs/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/andrei-markeev/camljs // Definitions by: Andrey Markeev // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - +// TypeScript Version: 2.7 declare class CamlBuilder { constructor(); diff --git a/types/camljs/tsconfig.json b/types/camljs/tsconfig.json index 5fbe5605e9..ed88508fc3 100644 --- a/types/camljs/tsconfig.json +++ b/types/camljs/tsconfig.json @@ -14,7 +14,8 @@ ], "types": [], "noEmit": true, - "forceConsistentCasingInFileNames": true + "forceConsistentCasingInFileNames": true, + "esModuleInterop": true }, "files": [ "index.d.ts",