Skip to content

Commit e0ac99a

Browse files
2 parents d6867c4 + a5f4d6a commit e0ac99a

File tree

3 files changed

+36
-6
lines changed

3 files changed

+36
-6
lines changed

Breaking-Changes.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ These changes list where implementation differs between versions as the spec and
22

33
> For breaking changes to the compiler/services API, please check the [[API Breaking Changes]] page.
44
5+
# TypeScript 3.2
6+
7+
## `lib.d.ts` updates
8+
9+
### `wheelDelta` and friends have been removed.
10+
11+
`wheelDeltaX`, `wheelDelta`, and `wheelDeltaZ` have all been removed as they is a deprecated properties on `WheelEvent`s.
12+
13+
**Solution**: Use `deltaX`, `deltaY`, and `deltaZ` instead.
14+
515
# TypeScript 3.1
616

717
## Some vendor-specific types are removed from `lib.d.ts`

Roadmap.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,40 @@
1111
* [Investigate error messages in haiku or iambic pentameter](https://twitter.com/kitsonk/status/973651805950242816)
1212
* Decorators for function expressions/arrow functions
1313

14-
# 3.2 (November 2018)
14+
# 3.3 (January 2019)
1515

16-
* [X] [Strict bind, call, and apply methods on functions](https://github.com/Microsoft/TypeScript/pull/27028)
17-
* [ ] [Support for `BigInt`](https://github.com/Microsoft/TypeScript/issues/15096)
1816
* [ ] [Partial type argument inference](https://github.com/Microsoft/TypeScript/pull/26349)
17+
* [ ] [Stricter types for `IteratorResult`](https://github.com/Microsoft/TypeScript/issues/11375)
18+
<!-- * [ ] [`unknown` for implicit generic constraints](https://github.com/Microsoft/TypeScript/issues/26796) -->
19+
* [ ] Quick fixes to...
20+
* [ ] [Scaffold local `@types` packages](https://github.com/Microsoft/TypeScript/issues/25746)
1921
* [ ] Refactorings to...
20-
* [ ] [Rename files from import/export paths](https://github.com/Microsoft/TypeScript/issues/24501)
22+
* [ ] [Convert to "named" parameters](https://github.com/Microsoft/TypeScript/issues/23552)
23+
24+
# 3.2 (November 2018)
25+
26+
* [X] [Strict bind, call, and apply methods on functions](https://github.com/Microsoft/TypeScript/pull/27028)
27+
* [X] [Allow non-unit types in union discriminants](https://github.com/Microsoft/TypeScript/pull/27695)
28+
* [X] [Generic spread expressions in object literals](https://github.com/Microsoft/TypeScript/pull/28234)
29+
* [X] [Generic object rest variables and parameters](https://github.com/Microsoft/TypeScript/pull/28312)
30+
* [X] [Type-checking support for `BigInt`](https://github.com/Microsoft/TypeScript/issues/15096)
31+
* [X] [Configuration inheritance through node packages](https://github.com/Microsoft/TypeScript/pull/27348)
32+
* [X] [Supporting `Object.defineProperty` property assignments in JS](https://github.com/Microsoft/TypeScript/pull/27208)
33+
* [X] [Support printing the implied configuration object to the console with `--showConfig`](https://github.com/Microsoft/TypeScript/pull/27353)
34+
* [X] [Improved formatting and indentation for lists and chained calls](https://github.com/Microsoft/TypeScript/pull/28340)
35+
* [X] Quick fixes to...
36+
* [X] [Add intermediate `unknown` type assertions](https://github.com/Microsoft/TypeScript/issues/28067)
37+
* [X] [Add missing `new` keyword](https://github.com/Microsoft/TypeScript/issues/26580)
2138

2239
# 3.1 (September 2018)
2340

24-
* [X] [Mapped tuple types](https://github.com/Microsoft/TypeScript/issues/25947)
41+
* [X] [Mapped tuple and array types](https://github.com/Microsoft/TypeScript/pull/26063)
2542
* [X] [Property assignments on function declarations](https://github.com/Microsoft/TypeScript/pull/26368)
2643
* [X] [`typesVersions` redirects](https://github.com/Microsoft/TypeScript/issues/22605)
2744
* [X] [Error UX improvements](https://github.com/Microsoft/TypeScript/issues/26077)
28-
* [X] [Refactor from `Promise#then`/`catch` to `async`/`await`](https://github.com/Microsoft/TypeScript/pull/26373)
45+
* [X] Refactorings to...
46+
* [X] [Rename files from import/export paths](https://github.com/Microsoft/TypeScript/issues/24501)
47+
* [X] [Convert from `Promise#then`/`catch` to `async`/`await`](https://github.com/Microsoft/TypeScript/pull/26373)
2948

3049
# 3.0 (July 2018)
3150

Type-Checking-JavaScript-Files.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
TypeScript 2.3 and later support type-checking and reporting errors in `.js` files with `--checkJs`.
22

33
You can skip checking some files by adding `// @ts-nocheck` comment to them; conversely, you can choose to check only a few `.js` files by adding a `// @ts-check` comment to them without setting `--checkJs`.
4+
45
You can also ignore errors on specific lines by adding `// @ts-ignore` on the preceding line.
56
Note that if you have a `tsconfig.json`, JS checking will respect strict flags like `noImplicitAny`, `strictNullChecks`, etc.
67
However, because of the relative looseness of JS checking, combining strict flags with it may be surprising.

0 commit comments

Comments
 (0)