Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit df1296a

Browse files
authored
Merge pull request #338 from blacknight811/master
fixes typos
2 parents e8bcd2e + 1e4bb08 commit df1296a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/Compiler Options.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Option | Type | Default
2626
`--listEmittedFiles` | `boolean` | `false` | Print names of generated files part of the compilation.
2727
`--listFiles` | `boolean` | `false` | Print names of files part of the compilation.
2828
`--locale` | `string` | *(platform specific)* | The locale to use to show error messages, e.g. en-us.
29-
`--mapRoot` | `string` | `null` | Specifies the location where debugger should locate map files instead of generated locations. Use this flag if the .map files will be located at run-time in a different location than than the .js files. The location specified will be embedded in the sourceMap to direct the debugger where the map files where be located.
29+
`--mapRoot` | `string` | `null` | Specifies the location where debugger should locate map files instead of generated locations. Use this flag if the .map files will be located at run-time in a different location than the .js files. The location specified will be embedded in the sourceMap to direct the debugger where the map files will be located.
3030
`--module`<br/>`-m` | `string` | `(target === 'ES6' ? 'ES6' : 'commonjs')` | Specify module code generation: `'none'`, `'commonjs'`, `'amd'`, `'system'`, `'umd'`, `'es6'`, or `'es2015'`.<br/>► Only `'amd'` and `'system'` can be used in conjunction with `--outFile`.<br/>► `'es6'` and `'es2015'` values may not be used when targeting ES5 or lower.
3131
`--moduleResolution` | `string` | `(module === 'amd' | 'system' | 'ES6' ? 'classic' : 'node')` | Determine how modules get resolved. Either `'node'` for Node.js/io.js style resolution, or `'classic'` (default). See [Module Resolution documentation](Module Resolution.md) for more details.
3232
`--newLine` | `string` | *(platform specific)* | Use the specified end of line sequence to be used when emitting files: `'crlf'` (windows) or `'lf'` (unix)."
@@ -56,7 +56,7 @@ Option | Type | Default
5656
`--skipLibCheck` | `boolean` | `false` | Don't check a the default library (`lib.d.ts`) file's valitidy.
5757
`--skipDefaultLibCheck` | `boolean` | `false` | Don't check a user-defined default library (`*.d.ts`) file's valitidy.
5858
`--sourceMap` | `boolean` | `false` | Generates corresponding '.map' file.
59-
`--sourceRoot` | `string` | `null` | Specifies the location where debugger should locate TypeScript files instead of source locations. Use this flag if the sources will be located at run-time in a different location than that at design-time. The location specified will be embedded in the sourceMap to direct the debugger where the source files where be located.
59+
`--sourceRoot` | `string` | `null` | Specifies the location where debugger should locate TypeScript files instead of source locations. Use this flag if the sources will be located at run-time in a different location than that at design-time. The location specified will be embedded in the sourceMap to direct the debugger where the source files will be located.
6060
`--strictNullChecks` | `boolean` | `false` | In strict null checking mode, the `null` and `undefined` values are not in the domain of every type and are only assignable to themselves and `any` (the one exception being that `undefined` is also assignable to `void`).
6161
`--stripInternal`<sup>[1]</sup> | `boolean` | `false` | Do not emit declarations for code that has an `/** @internal */` JSDoc annotation.
6262
`--suppressExcessPropertyErrors` | `boolean` | `false` | Suppress excess property checks for object literals.

0 commit comments

Comments
 (0)