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"] }