diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-02 12:32:02 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-03 16:59:00 -0400 |
| commit | 0cdf1f451d0b3c67f2d7c0c2817f712eb6c87987 (patch) | |
| tree | e93dbe7a997fb3d4038ef69750d1c790c205ddad /js/tsconfig.declarations.json | |
| parent | 6cfc6b5d51fccdb1e5ae6ea0940dd87aadda4a82 (diff) | |
Rename tsconfig.generated.json to tsconfig.declarations.json
Diffstat (limited to 'js/tsconfig.declarations.json')
| -rw-r--r-- | js/tsconfig.declarations.json | 20 |
1 files changed, 20 insertions, 0 deletions
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" + ] +} |
