# HG changeset patch # User cin # Date 2020-02-06 12:35:38 # Node ID 649967c9429da083eb86871d88797a4512924524 # Parent 11edf8e36b9245fb8a30beb16139cd7d4cf55b75 Fixed @implab/djx/index typings diff --git a/src/main/tsconfig.json b/src/main/tsconfig.json --- a/src/main/tsconfig.json +++ b/src/main/tsconfig.json @@ -2,8 +2,12 @@ "extends": "../tsconfig", "compilerOptions": { "rootDir": "ts", + "rootDirs": [ + "ts", + "typings" + ], "types": [ - "requirejs", "dojo-typings" + "requirejs", "dojo-typings", "./typings/index" ] } } \ No newline at end of file diff --git a/src/main/typings/index.d.ts b/src/main/typings/index.d.ts --- a/src/main/typings/index.d.ts +++ b/src/main/typings/index.d.ts @@ -1,4 +1,4 @@ declare module "@implab/djx/css!*" { - declare const result: { url: string }; + const result: { url: string }; export = result; } diff --git a/src/tsconfig.json b/src/tsconfig.json --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -6,7 +6,7 @@ "types": [], "experimentalDecorators": true, "jsxFactory": "createElement", - "skipLibCheck": true, + //"skipLibCheck": true, "jsx": "react", "lib": ["es5", "es2015.promise", "es2015.symbol", "es2015.iterable", "dom", "scripthost"] }