Tobias Bosch
2572bf508f
feat(compiler): make .ngsummary.json files portable
...
This also allows to customize the filePaths in `.ngsummary.json` file
via the new methods `toSummaryFileName` and `fromSummaryFileName`
on the `CompilerHost`.
2017-08-16 15:24:48 -07:00
Chuck Jazdzewski
bc22ff1517
fix(language-service): remove tsickle dependency
...
Removes the tsickle dependency added when tsickle was added to the
transform compiler.
Added a test to ensure stray dependencies are not added and no
errors are introduced during module flattening.
2017-08-16 11:33:49 -07:00
Chuck Jazdzewski
619e625ee2
refactor(tsc-wrapped): move tsc-wrapped to the packages directory ( #18160 )
2017-07-21 12:26:16 -05:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Chuck Jazdzewski
3b2d2c467a
fix(language-service): do not crash when hovering over a label definitions ( #17974 )
...
Fixes : #17972
2017-07-07 08:46:18 -07:00
Victor Berchet
dd7c1134e3
feat(compiler): update the schema by extracting from latest chrome ( #17858 )
...
adds:
- the slot element,
- the slot attribute on [Element],
- a few other attributes.
2017-07-06 12:11:34 -07:00
Chuck Jazdzewski
f194f18dbd
fix(language-service): infer any ngForOf of type any
...
Fixes : #17611
2017-06-20 12:04:51 -07:00
Chuck Jazdzewski
4e6be15069
fix(language-service): rollup tslib into the language service package
...
Fixes : #17614
2017-06-20 11:50:20 -07:00
Jason Aden
fa809ec8cf
build: import tslib rather than output TS helpers ( #16901 )
2017-05-23 14:01:39 -06:00
Tobias Bosch
50abca4583
refactor(compiler): don’t rely on global reflector ( #16832 )
...
Using the global reflector made it impossible
to compile multiple programs at the same time.
2017-05-23 10:41:23 -06:00
Chuck Jazdzewski
9a7f5d580f
ci: update build to use TypeScript 2.3.2 ( #16707 )
2017-05-16 13:29:38 -07:00
Chuck Jazdzewski
b9521b568f
feat(compiler): support a non-null postfix assert ( #16672 )
...
Template expressions can now use a post-fix `!` operator
that asserts the target of the operator is not null. This is
similar to the TypeScript non-null assert operator. Expressions
generated in factories will be generated with the non-null assert
operator.
Closes : #10855
2017-05-11 10:15:54 -07:00
Chuck Jazdzewski
bb0902c592
refactor(compiler-cli): move the expression expression type checker ( #16562 )
...
The expression type checker moved from the language service
to the compiler-cli in preparation to using it to check
template expressions.
2017-05-09 16:16:50 -07:00
Tobias Bosch
547c363473
feat: add .ngsummary.ts files to support AOT unit tests
...
Design doc: https://docs.google.com/document/d/1VmTkz0EbEVSWfEEWEvQ5sXyQXSCvtMOw4t7pKU-jOwc/edit?usp=sharing
2017-05-05 13:23:53 -04:00
Chuck Jazdzewski
253345c0c0
fix(language-service): remove asserts for non-null expressions ( #16422 )
...
Reworked some of the code so asserts are no longer necessary.
Added additional and potentially redundant checks
Added checks where the null checker found real problems.
PR Close #16422
2017-04-28 22:50:31 -05:00
Chuck Jazdzewski
f4b771a0c6
feat(language-service): provide external file list to TypeScript ( #16417 )
...
Also ensures that it only calls base language service for files
that it contains.
PR Close #16417
2017-04-28 18:11:18 -05:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Victor Berchet
014594fe8f
feat: add support for TS 2.3
2017-04-18 08:28:55 -07:00
Victor Berchet
3c8a61e40c
feat: add support for TS 2.2
2017-04-18 08:28:55 -07:00
Chuck Jazdzewski
f21ff904c2
fix(language-service): respect baseUrl compiler option
...
Fixes #15974
2017-04-17 14:36:49 -07:00
Chuck Jazdzewski
2ddf3bcdd1
fix(language-service): look for type constructors on canonical symbol
2017-04-17 09:49:31 -07:00
Chuck Jazdzewski
0a3a9afe58
fix(language-service): infer correct type of ?. expressions
...
Fixes #15885
2017-04-17 09:48:52 -07:00
Chuck Jazdzewski
5a88d2f68b
fix(language-service): only use canonical symbols
...
Language service was treating some alias TypeScript symbols as if
they where the canonical symbol. If the symbol in scope is an alias
of another symbol the symbol should be converted to the canonical
symbol.
2017-04-17 09:24:31 -07:00
Victor Berchet
fdb3f26448
refactor(compiler): cleanup ( #15960 )
2017-04-13 11:56:00 -07:00
Miško Hevery
540581da3e
fix(language-service): Update types for TypeScript nullability support
2017-04-12 11:36:19 -07:00
Chuck Jazdzewski
258d5392d5
fix(language-service): detect when there isn't a tsconfig.json
...
Fixes #15874
2017-04-10 16:01:05 -06:00
Miško Hevery
09d9f5fe54
fix(compiler): Update types for TypeScript nullability support
2017-04-10 15:26:33 -06:00
Chuck Jazdzewski
bde9771991
fix(language-service): parse extended i18n forms
2017-04-04 15:34:12 -06:00
Chuck Jazdzewski
fe0d02fc47
fix(language-service): initialize static reflector correctly
...
Fixes #15768
2017-04-04 15:00:46 -06:00
Chuck Jazdzewski
7764c5c697
fix(language-service): avoid throwing exceptions when reporting metadata errors
2017-04-04 14:11:51 -06:00