diff options
author | Andreas Deininger <andreas@deininger.net> | 2024-08-02 13:26:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-02 13:26:54 +0200 |
commit | ea121c9a0e162a83beeae62ed9e5a7911877bcbc (patch) | |
tree | 595186262a70cbdc22c067a9d5815a51103c25fc /cli/tsc | |
parent | bcdf600ae40af8880d9c6d8e0c64179de274290f (diff) |
docs: fix typos (#24820)
This PR fixes various typos I spotted in the project.
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/99_main_compiler.js | 4 | ||||
-rw-r--r-- | cli/tsc/dts/lib.deno.unstable.d.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index 75c6f8117..a0bce0133 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -490,7 +490,7 @@ delete Object.prototype.__proto__; // anything. We prefer to treat these as modules with no exports. 2306, // TS2688: Cannot find type definition file for '...'. - // We ignore because type defintion files can end with '.ts'. + // We ignore because type definition files can end with '.ts'. 2688, // TS2792: Cannot find module. Did you mean to set the 'moduleResolution' // option to 'node', or to add aliases to the 'paths' option? @@ -1106,7 +1106,7 @@ delete Object.prototype.__proto__; * @param {any} data * @param {string | null} error */ - // TODO(bartlomieju): this feels needlessly generic, both type chcking + // TODO(bartlomieju): this feels needlessly generic, both type checking // and language server use it with inefficient serialization. Id is not used // anyway... function respond(_id, data = null, error = null) { diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index f76b67dd8..e940bfca9 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -960,7 +960,7 @@ declare namespace Deno { caCerts?: string[]; /** A HTTP proxy to use for new connections. */ proxy?: Proxy; - /** Sets the maximum numer of idle connections per host allowed in the pool. */ + /** Sets the maximum number of idle connections per host allowed in the pool. */ poolMaxIdlePerHost?: number; /** Set an optional timeout for idle sockets being kept-alive. * Set to false to disable the timeout. */ |