Skip to content

Commit 372eed4

Browse files
author
Orta Therox
authored
Merge pull request #1937 from nihaals/replace-master
Update references to `master`
2 parents 35fe679 + 6cf9d6d commit 372eed4

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

packages/documentation/copy/en/Nightly Builds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ oneline: How to use a nightly build of TypeScript
66
translatable: true
77
---
88

9-
A nightly build from the [TypeScript's `master`](https://github.com/Microsoft/TypeScript/tree/master) branch is published by midnight PST to npm.
9+
A nightly build from the [TypeScript's `main`](https://github.com/Microsoft/TypeScript/tree/main) branch is published by midnight PST to npm.
1010
Here is how you can get it and use it with your tools.
1111

1212
## Using npm
@@ -49,7 +49,7 @@ More information is available at the [TypeScript Plugin for Sublime Text install
4949
5050
The nightly build currently does not include the full plugin setup, but we are working on publishing an installer on a nightly basis as well.
5151

52-
1. Download the [VSDevMode.ps1](https://github.com/Microsoft/TypeScript/blob/master/scripts/VSDevMode.ps1) script.
52+
1. Download the [VSDevMode.ps1](https://github.com/Microsoft/TypeScript/blob/main/scripts/VSDevMode.ps1) script.
5353

5454
> Also see our wiki page on [using a custom language service file](https://github.com/Microsoft/TypeScript/wiki/Dev-Mode-in-Visual-Studio#using-a-custom-language-service-file).
5555

packages/documentation/copy/en/reference/Module Resolution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ Value of _baseUrl_ is determined as either:
213213

214214
Note that relative module imports are not impacted by setting the baseUrl, as they are always resolved relative to their importing files.
215215

216-
You can find more documentation on baseUrl in [RequireJS](http://requirejs.org/docs/api.html#config-baseUrl) and [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/api.md) documentation.
216+
You can find more documentation on baseUrl in [RequireJS](http://requirejs.org/docs/api.html#config-baseUrl) and [SystemJS](https://github.com/systemjs/systemjs/blob/main/docs/api.md) documentation.
217217

218218
### Path mapping
219219

220220
Sometimes modules are not directly located under _baseUrl_.
221221
For instance, an import to a module `"jquery"` would be translated at runtime to `"node_modules/jquery/dist/jquery.slim.min.js"`.
222-
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/import-maps.md).
222+
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/main/docs/import-maps.md).
223223

224224
The TypeScript compiler supports the declaration of such mappings using `"paths"` property in `tsconfig.json` files.
225225
Here is an example for how to specify the `"paths"` property for `jquery`.

packages/documentation/copy/en/release-notes/TypeScript 2.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ import A from "moduleA";
544544
## Path mapping
545545

546546
Sometimes modules are not directly located under _baseUrl_.
547-
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/import-maps.md).
547+
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/main/docs/import-maps.md).
548548

549549
The TypeScript compiler supports the declaration of such mappings using `"paths"` property in `tsconfig.json` files.
550550

@@ -627,7 +627,7 @@ x(y);
627627

628628
## Wildcard character in module names
629629

630-
Importing none-code resources using module loaders extension (e.g. [AMD](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) or [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/module-types.md)) has not been easy before;
630+
Importing none-code resources using module loaders extension (e.g. [AMD](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) or [SystemJS](https://github.com/systemjs/systemjs/blob/main/docs/module-types.md)) has not been easy before;
631631
previously an ambient module declaration had to be defined for each resource.
632632

633633
TypeScript 2.0 supports the use of the wildcard character (`*`) to declare a "family" of module names;

packages/documentation/copy/en/tutorials/DOM Manipulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Websites are made up of HTML and/or XML documents. These documents are static, t
1616

1717
TypeScript is a typed superset of JavaScript, and it ships type definitions for the DOM API. These definitions are readily available in any default TypeScript project. Of the 20,000+ lines of definitions in _lib.dom.d.ts_, one stands out among the rest: `HTMLElement` . This type is the backbone for DOM manipulation with TypeScript.
1818

19-
> You can explore the source code for the [DOM type definitions](https://github.com/microsoft/TypeScript/blob/master/lib/lib.dom.d.ts)
19+
> You can explore the source code for the [DOM type definitions](https://github.com/microsoft/TypeScript/blob/main/lib/lib.dom.d.ts)
2020
2121
## Basic Example
2222

packages/playground/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Then queries tend to be about changing the state of the Playground setup from th
3838
There are two special cases for the `ts` option:
3939

4040
- `ts=Nightly` where it will switch to most recently the nightly version.
41-
- `ts=dev` where it uses your [local developer's build of TypeScript](https://github.com/microsoft/TypeScript/blob/master/scripts/createPlaygroundBuild.js)
41+
- `ts=dev` where it uses your [local developer's build of TypeScript](https://github.com/microsoft/TypeScript/blob/main/scripts/createPlaygroundBuild.js)
4242

4343
- `?flag=value` - Any compiler flag referenced in can be set from a query
4444
- `?filetype=js|ts|dts` - Tells the Playground to set the editor's type

packages/tsconfig-reference/copy/en/options/lib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ You may want to change these for a few reasons:
6464
| `ESNext.Intl` |
6565
| `ESNext.Symbol` |
6666

67-
This list may be out of date, you can see the full list in the [TypeScript source code](https://github.com/microsoft/TypeScript/tree/master/lib).
67+
This list may be out of date, you can see the full list in the [TypeScript source code](https://github.com/microsoft/TypeScript/tree/main/lib).

0 commit comments

Comments
 (0)