From 1068b4848c4d6d9a444d2d2bca5f25d822c42ff5 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 30 Jun 2019 23:52:28 +0900 Subject: [PATCH] ts_library_builder: update README (#2604) --- tools/ts_library_builder/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ts_library_builder/README.md b/tools/ts_library_builder/README.md index 187d753e63..c96fba16b0 100644 --- a/tools/ts_library_builder/README.md +++ b/tools/ts_library_builder/README.md @@ -2,13 +2,13 @@ This tool allows us to produce a single TypeScript declaration file that describes the complete Deno runtime, including global variables and the built-in -`deno` module. The output of this tool, `lib.deno_runtime.d.ts`, serves several -purposes: +`Deno` global object. The output of this tool, `lib.deno_runtime.d.ts`, serves +several purposes: 1. It is passed to the TypeScript compiler `js/compiler.ts`, so that TypeScript knows what types to expect and can validate code against the runtime environment. -2. It is outputted to stdout by `deno --types`, so that users can easily have +2. It is outputted to stdout by `deno types`, so that users can easily have access to the complete declaration file. Editors can use this in the future to perform type checking. 3. Because JSDocs are maintained, this serves as a simple documentation page for