Skip to content

Commit 7a686ec

Browse files
nschonnijakebailey
andauthored
fix: varous typos (#2513)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
1 parent 05eb74a commit 7a686ec

File tree

30 files changed

+39
-39
lines changed

30 files changed

+39
-39
lines changed

docs/Deprecating a page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Deprecating a documentation page
22

3-
Start with this question: are you deprecating or deleting? Ideally you're never deleting because [Cool URIs Dont Change](https://www.w3.org/Provider/Style/URI.html) but for something which intentionally had a limited self-life, that's OK.
3+
Start with this question: are you deprecating or deleting? Ideally you're never deleting because [Cool URIs Don't Change](https://www.w3.org/Provider/Style/URI.html) but for something which intentionally had a limited self-life, that's OK.
44

55
### Keep or Redirect?
66

packages/ata/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The library will
5353
- Recurse though their dependencies too.
5454
- Once those are done, trigger `finished` with a Map of the `vfs` if you prefer to set them in bulk.
5555

56-
### Nicities
56+
### Niceties
5757

5858
Users can give a specific npm version or tag to work from instead of the default "latest":
5959

packages/community-meta/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ All localizations live inside the `copy` folder:
3535
- Any examples not copied over fall back to the english version
3636
- You can change the name of an example for your language by having `//// { "title": 'c0d3 fl0w', ... }` in the first line of the example
3737

38-
Languages are compiled to TOC JSON files in [`generated`](./generated), one per lanaguge.
38+
Languages are compiled to TOC JSON files in [`generated`](./generated), one per language.
3939

4040
# Deployment
4141

packages/documentation/copy/en/get-started/TS for the New Programmer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ This was a brief overview of the syntax and tools used in everyday TypeScript. F
183183
* Types implicitly define what operations make sense on them
184184
* Lots of different kinds, not just primitives
185185
* We can make descriptions for all kinds of values
186-
* The `any` type -- a quick desctiption, what it is, and why it's bad
186+
* The `any` type -- a quick description, what it is, and why it's bad
187187
* Inference 101
188188
* Examples
189189
* TypeScript can figure out types most of the time

packages/documentation/copy/en/reference/ESM Support for Node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ A package author could override this by specifying a separate field called `"typ
207207

208208
The new support works similarly with [import conditions](https://nodejs.org/api/packages.html).
209209
By default, TypeScript overlays the same rules with import conditions - if you write an `import` from an ES module, it will look up the `import` field, and from a CommonJS module, it will look at the `require` field.
210-
If it finds them, it will look for a colocated declaration file.
210+
If it finds them, it will look for a co-located declaration file.
211211
If you need to point to a different location for your type declarations, you can add a `"types"` import condition.
212212

213213
```json5

packages/documentation/copy/en/reference/Iterators and Generators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ for (var _i = 0; _i < numbers.length; _i++) {
9797

9898
#### Targeting ECMAScript 2015 and higher
9999

100-
When targeting an ECMAScipt 2015-compliant engine, the compiler will generate `for..of` loops to target the built-in iterator implementation in the engine.
100+
When targeting an ECMAScript 2015-compliant engine, the compiler will generate `for..of` loops to target the built-in iterator implementation in the engine.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class MyComponent extends React.Component<Props, {}> {
4545
<MyComponent name={0} />; // error, `name` is not a number
4646
```
4747

48-
#### Using other JSX framworks
48+
#### Using other JSX frameworks
4949

5050
JSX element names and properties are validated against the `JSX` namespace.
5151
Please see the [[JSX]] wiki page for defining the `JSX` namespace for your framework.
@@ -454,7 +454,7 @@ For example:
454454
}
455455
```
456456

457-
The [`exclude`](/tsconfig#exclude) list does not support wilcards. It must simply be a list of files and/or directories.
457+
The [`exclude`](/tsconfig#exclude) list does not support wildcards. It must simply be a list of files and/or directories.
458458

459459
## `--init` command line option
460460

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ var div = jsxFactory_1.jsxFactory.createElement("div", null, "Hello JSX!");
466466
TypeScript 1.8 extends [user-defined type guard functions](./typescript-1.6.html#user-defined-type-guard-functions) to class and interface methods.
467467

468468
`this is T` is now valid return type annotation for methods in classes and interfaces.
469-
When used in a type narowing position (e.g. `if` statement), the type of the call expression target object would be narrowed to `T`.
469+
When used in a type narrowing position (e.g. `if` statement), the type of the call expression target object would be narrowed to `T`.
470470

471471
##### Example
472472

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface Iterator<T> {
2424
This kind of iterator is useful for iterating over synchronously available values, such as the elements of an Array or the keys of a Map.
2525
An object that supports iteration is said to be "iterable" if it has a `Symbol.iterator` method that returns an `Iterator` object.
2626

27-
The Iterator protocol also defines the target of some of the ES2015 features like `for..of` and spread operator and the array rest in destructuring assignmnets.
27+
The Iterator protocol also defines the target of some of the ES2015 features like `for..of` and spread operator and the array rest in destructuring assignments.
2828

2929
##### Generators
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function walk(p) {
237237
}
238238
```
239239

240-
## Relaxing declaration emit visiblity rules
240+
## Relaxing declaration emit visibility rules
241241

242242
With `import` types available, many of the visibility errors reported during declaration file generation can be handled by the compiler without the need to change the input.
243243

0 commit comments

Comments
 (0)