From 0cdf1f451d0b3c67f2d7c0c2817f712eb6c87987 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 2 Oct 2018 12:32:02 -0400 Subject: Rename tsconfig.generated.json to tsconfig.declarations.json --- js/tsconfig.declarations.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 js/tsconfig.declarations.json (limited to 'js/tsconfig.declarations.json') diff --git a/js/tsconfig.declarations.json b/js/tsconfig.declarations.json new file mode 100644 index 000000000..c4aec8ee0 --- /dev/null +++ b/js/tsconfig.declarations.json @@ -0,0 +1,20 @@ +{ + // This configuration file provides the tsc configuration for generating + // definitions for the runtime, which are then inlined via the `js/assets.ts` + // module into the bundle to be available for type checking at runtime + // See also gen_declarations in //BUILD.gn + "extends": "../tsconfig.json", + "compilerOptions": { + "declaration": true, + "emitDeclarationOnly": true, + "module": "amd", + "removeComments": false, + "stripInternal": true + }, + "files": [ + "../node_modules/typescript/lib/lib.esnext.d.ts", + "./compiler.ts", + "./deno.ts", + "./globals.ts" + ] +} -- cgit v1.2.3