angular-cn/packages
Alex Rickabaugh c2d31fb01e fix(http): move destructuring inside {Request,Response}Options ctor
Previously the RequestOptions/ResponseOptions classes had constructors
with a destructured argument hash (represented by the
{Request,Response}OptionsArgs type). This type consists entirely of
optional members.

This produces a .d.ts file which includes the constructor declaration:

constructor({param, otherParam}?: OptionsArgs);

However, this declaration doesn't type-check properly. TypeScript
determines the actual type of the hash parameter to be OptionsArgs | undefined,
which it then concludes does not have a `param` or `otherParam` member.

This is a bug in TypeScript ( https://github.com/microsoft/typescript/issues/10078 ).
As a workaround, destructuring is moved inside the method, where it does not produce
broken artifacts in the .d.ts.

Fixes #16663.
2017-06-09 14:34:39 -07:00
..
animations fix(animations): evaluate substitutions on option param values 2017-06-08 10:12:52 -07:00
benchpress fix(benchpress): chrome - prevent trace buffer overflow 2017-04-18 08:28:31 -07:00
common build: Introduce Bazel build rules 2017-06-05 11:18:20 -07:00
compiler ci: update Chromium to 464641 (Chrome v59) 2017-06-08 09:36:35 -07:00
compiler-cli release: cut the 4.2.0 release 2017-06-08 15:38:20 -07:00
core build: Introduce Bazel build rules 2017-06-05 11:18:20 -07:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples fix: Update types for TypeScript nullability support in examples 2017-04-12 11:36:19 -07:00
forms fix(forms): fix min and max validator behavior on non-numbers 2017-06-08 13:59:17 -07:00
http fix(http): move destructuring inside {Request,Response}Options ctor 2017-06-09 14:34:39 -07:00
language-service build: import tslib rather than output TS helpers (#16901) 2017-05-23 14:01:39 -06:00
platform-browser refactor(platform-browser): Remove setGlobalVar from DOM adapter 2017-06-06 13:26:23 -07:00
platform-browser-dynamic build: import tslib rather than output TS helpers (#16901) 2017-05-23 14:01:39 -06:00
platform-server refactor(platform-browser): Remove setGlobalVar from DOM adapter 2017-06-06 13:26:23 -07:00
platform-webworker refactor(platform-browser): Remove setGlobalVar from DOM adapter 2017-06-06 13:26:23 -07:00
platform-webworker-dynamic build: import tslib rather than output TS helpers (#16901) 2017-05-23 14:01:39 -06:00
router docs: fix typo in 'Routes' docs 2017-06-05 11:18:43 -07:00
upgrade fix(upgrade): call setInterval outside the Angular zone 2017-06-06 14:11:21 -07:00
README.md refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig.json fix: turn on nullability in the code base. 2017-04-18 12:07:33 -07:00
types.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT