Daniel Rosenwasser
c77fcf217b
Merge pull request #28932 from j-oliveras/No-es2015-usages
...
Change es2015 usages to existing ts functions
2018-12-10 17:11:28 -08:00
Daniel Rosenwasser
bc59582c7d
Merge pull request #28627 from ajafff/arrow-arguments
...
ArrowFunction has no own 'arguments'
2018-12-10 11:42:43 -08:00
Daniel Rosenwasser
3e6a666b5e
Merge pull request #28919 from a-tarasyuk/feature/28893-allow-trailing-comma-on-tuple-types
...
feature/28893 allow trailing comma on tuple types
2018-12-10 11:33:33 -08:00
Anders Hejlsberg
cd6d2fdc18
Merge pull request #28940 from Microsoft/explicitUnknownConstraint
...
Type parameter constrained to 'unknown' not assignable to '{}'
2018-12-10 10:29:06 -08:00
Anders Hejlsberg
bb21cf5ca1
Merge pull request #28920 from Microsoft/improveBindTyping
...
Improve 'bind' typing in --strictBindCallApply mode
2018-12-10 10:28:37 -08:00
TypeScript Bot
b980e19df2
Update user baselines ( #28941 )
2018-12-10 09:47:48 -08:00
Anders Hejlsberg
4d67c8f873
Accept new baselines
2018-12-10 09:46:03 -08:00
Anders Hejlsberg
d2cc282134
Add tests
2018-12-10 09:45:55 -08:00
Anders Hejlsberg
c8091acc5e
Accept new baselines
2018-12-10 09:14:50 -08:00
Anders Hejlsberg
7a0779288f
Add tests
2018-12-10 09:14:41 -08:00
Anders Hejlsberg
a8964cbc60
Type parameter with 'unknown' constraint not assignable to '{}'
2018-12-10 08:59:12 -08:00
Jordi Oliveras Rovira
599a963493
Add newline
2018-12-09 20:42:46 +01:00
Jordi Oliveras Rovira
6a82b0a96b
Add newline, bad edit
2018-12-09 20:42:02 +01:00
Jordi Oliveras Rovira
4e43dcdc05
Change usages of String.prototype.endsWith to ts.endsWith.
2018-12-09 20:25:17 +01:00
Jordi Oliveras Rovira
3d23e7a0a4
Change usage of String.prototype.startsWith to ts.startsWith.
2018-12-09 20:24:48 +01:00
Jordi Oliveras Rovira
f41b4e088d
Change usage of Array.prototype.find to ts.find.
2018-12-09 20:23:56 +01:00
Anders Hejlsberg
201eec6230
Update fourslash list of global types
2018-12-08 11:20:31 -08:00
Anders Hejlsberg
992513791d
Fix findAllReferences for 'this' parameter declarations
2018-12-08 11:03:37 -08:00
Anders Hejlsberg
aea2a12d79
Accept new baselines
2018-12-08 11:03:00 -08:00
Anders Hejlsberg
9cc997fca7
Improve typing of 'bind' method on function types
2018-12-08 11:02:19 -08:00
Alexander
e219b17ff0
TupleType - add additional tests to handle error on extra comma
2018-12-08 20:50:09 +02:00
Alexander
a92462db6c
28893 - update baseline
2018-12-08 12:06:37 +02:00
Alexander
94b3d1a2b5
Allow trailing comma on tuple types
2018-12-08 11:53:18 +02:00
Daniel Rosenwasser
c2898db9dd
Merge pull request #28612 from vvakame/feat-showConfig-error
...
show diagnostic when error occurred with --showConfig
2018-12-07 16:42:30 -08:00
Anders Hejlsberg
34d9d4bc8c
Merge pull request #28870 from Microsoft/discriminatedUnionInference
...
Improved type inference for discriminated unions
2018-12-07 15:44:41 -08:00
Daniel Rosenwasser
95fb220e88
Merge pull request #28626 from j-oliveras/patch-1
...
Update bug template to version 3.3
2018-12-07 13:24:19 -08:00
Wesley Wigham
71286e3d49
Merge pull request #28878 from typescript-bot/user-update-20181104
...
🤖 User test baselines have changed
v3.2.2
2018-12-06 14:24:09 -08:00
Daniel Rosenwasser
8150169762
Merge pull request #28857 from JoshuaKGoldberg/identifiers-after-numeric-literals
...
Added error for IdentifierStart immediately after a NumericLiteral
2018-12-06 11:49:56 -08:00
Josh Goldberg
a211184347
Clarified error message; extended error to identifier end
...
Lengthening the reported error length to include all of the identifier necessitates scanning for all of the identifier. I also reset the `pos` after so other identifier scanning still happens.
2018-12-06 11:17:06 -08:00
typescript-bot
8a77e85fa4
Update user baselines
2018-12-06 14:26:06 +00:00
Anders Hejlsberg
1896248ff2
Accept new baselines
2018-12-05 15:20:31 -08:00
Anders Hejlsberg
4ae0848bd4
Add tests
2018-12-05 15:20:21 -08:00
Anders Hejlsberg
2f7cf9e26c
Accept new baselines
2018-12-05 15:20:12 -08:00
Anders Hejlsberg
676d8af43a
Only infer from constituents with matching discriminants in unions
2018-12-05 11:46:06 -08:00
Anders Hejlsberg
07dbc56208
Merge pull request #28854 from Microsoft/fixExcessPropertyChecks
...
Improve excess property checks
2018-12-05 08:51:08 -08:00
Wesley Wigham
2109c34a8c
Merge pull request #28856 from weswigham/showConfig-exhaustive-test
...
Fix paths showConfig, exhaustively test showConfig
2018-12-04 23:19:35 -08:00
Josh Goldberg
31fca3af4d
Accepted new baselines
2018-12-04 18:33:06 -08:00
Josh Goldberg
51d10ee4a0
Removed excess new check
2018-12-04 18:29:58 -08:00
Josh Goldberg
174816fc26
Added error for IdentifierStart immediately after a NumericLiteral
...
Fixes #4702 .
2018-12-04 17:59:20 -08:00
Wesley Wigham
86ec885c33
Merge pull request #28772 from r7kamura/feature/tsconfig-newline
...
Add terminating newline to generated tsconfig.json
2018-12-04 16:54:00 -08:00
Wesley Wigham
19de47f2db
Fix paths showConfig, exhaustively test showConfig
2018-12-04 16:24:25 -08:00
Anders Hejlsberg
b34c73f7e8
Merge pull request #28851 from Microsoft/deferConditionalTypes
...
Defer resolution of conditional types with generic check or extends types
2018-12-04 15:48:57 -08:00
Anders Hejlsberg
6e022bdd43
Accept new baselines
2018-12-04 14:52:06 -08:00
Anders Hejlsberg
e7bb5625c0
Add additional tests
2018-12-04 14:51:59 -08:00
Anders Hejlsberg
f1b3c6ec8c
Accept new baselines
2018-12-04 14:51:35 -08:00
Anders Hejlsberg
1d2df84a77
Improve excess property checking logic
2018-12-04 14:50:56 -08:00
Anders Hejlsberg
3afa86fd9c
Accept new baselines
2018-12-04 13:18:13 -08:00
Anders Hejlsberg
3e2f130b3c
Add regression test
2018-12-04 13:18:04 -08:00
Anders Hejlsberg
7c727365e4
Accept new baselines
2018-12-04 13:10:58 -08:00
Anders Hejlsberg
b032e063cd
Resolve conditional type only when check and extends types are non-generic
2018-12-04 13:06:53 -08:00