summaryrefslogtreecommitdiff
path: root/js/tsconfig.generated.json
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-08-07 13:27:31 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-08-08 04:17:46 -0700
commit817380a2d9e42b118706638fe59c592f4bba06ef (patch)
tree30bbff8221390d0d880570a29c939542c5d0ff5d /js/tsconfig.generated.json
parenteda1c7b74a583a567c781fe13e63a80c2d4dcc3d (diff)
Generate declarations
Diffstat (limited to 'js/tsconfig.generated.json')
-rw-r--r--js/tsconfig.generated.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/tsconfig.generated.json b/js/tsconfig.generated.json
new file mode 100644
index 000000000..4fa3be1a1
--- /dev/null
+++ b/js/tsconfig.generated.json
@@ -0,0 +1,16 @@
+{
+ // 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,
+ "declarationMap": true,
+ },
+ "files": [
+ "../node_modules/typescript/lib/lib.esnext.d.ts",
+ "./deno.ts",
+ "./globals.ts"
+ ]
+}