Sheetal Nandi
67a6a9477f
Merge pull request #16586 from Microsoft/projectRootAsCurrentDirectoryInEmit
...
Use the project root or the directory of current script info as the current directory to emit the file
2017-10-10 10:28:14 -07:00
Ron Buckton
62d045f1a2
Merge pull request #19057 from Microsoft/fix17564
...
Fix 'this' capturing for dynamic import
2017-10-10 10:21:43 -07:00
Ron Buckton
dca6e33ac7
baseline updates
2017-10-10 10:03:18 -07:00
Ron Buckton
1125e0a966
Merge branch 'master' into fix17564
2017-10-10 09:47:04 -07:00
Sheetal Nandi
98d58d6517
Handle project close to release all the script infos held by the project
2017-10-09 20:12:53 -07:00
Sheetal Nandi
aa22c56282
Swallow the directory watcher exceptions
2017-10-09 18:04:14 -07:00
Ron Buckton
dc607c29b4
Fix 'this' capturing for dynamic import
2017-10-09 17:15:13 -07:00
falsandtru
d23e5f1ee2
Fix Array.{reduce,reduceRight} methods ( #18987 )
2017-10-09 17:11:31 -07:00
Wesley Wigham
17a1cd069d
Add deprecation warning to getSymbolDisplayBuilder ( #18953 )
...
* Add deprecation warning to getSymbolDisplayBuilder
* Accept API baselines
2017-10-09 16:55:20 -07:00
Sheetal Nandi
b9592d4186
Use the parent most node_modules directory for module resolution failed lookup locations
2017-10-09 15:59:27 -07:00
Ron Buckton
aaa06122b9
Fix recursive reference in type parameter default
2017-10-09 15:44:06 -07:00
Sheetal Nandi
6887dbc750
Assert if the script info that is attached to closed project is present
...
Adds assertion to investigate #19003 and #18928
2017-10-09 15:25:01 -07:00
Arthur Ozga
1db762356e
Merge pull request #18706 from aozgaa/dev/aozgaa/JsDocExtendsSupport
...
support @extends in jsdoc
2017-10-09 15:08:58 -07:00
falsandtru
661ecc241e
Improve Object.{values,entries} static methods ( #18875 )
2017-10-09 15:08:22 -07:00
Arthur Ozga
5faa739483
Merge pull request #18674 from aozgaa/dev/aozgaa/exceptionEvent
...
add error message test
2017-10-09 15:01:40 -07:00
Joe Calzaretta
bb3467b8e1
Handle type guard predicates on Array<T>.find ( #18160 )
...
* Handle type guard predicates on `Array<T>.find`
If the `predicate` function passed to `Array<T>.find` or `ReadonlyArray<T>.find`
is a type guard narrowing `value` to type `S`, then any returned element should also
be narrowed to `S`.
Adding test case and associated baselines
* trailing whitespace after merge conflict
2017-10-09 14:58:41 -07:00
Arthur Ozga
5f3d6e753e
update baselines
2017-10-09 14:43:51 -07:00
Sheetal Nandi
07ba906594
Handle the case when finishCachingPerDirectoryResolution is not called because of exception
...
Fixes #18975
2017-10-09 14:32:33 -07:00
Andy
8b60736b61
importFixes: Remove unnecessary undefined check ( #19045 )
2017-10-09 13:39:15 -07:00
Nathan Shively-Sanders
9b51c33582
Merge pull request #19005 from charlespierce/abstract_property_in_constructor
...
Error when accessing abstract property in constructor #9230
2017-10-09 13:21:33 -07:00
Ron Buckton
264652c0ef
Fix emit for classes with both fields and 'extends null'
2017-10-09 13:14:49 -07:00
Charles Pierce
8486c48237
Fix linting error in new function
2017-10-09 13:01:30 -07:00
Sheetal Nandi
077f70276f
Merge pull request #18970 from Microsoft/lessLoggingInTsc
...
Fine tune logging so that only triggers in watch are logged in normal mode vs verbose
2017-10-09 11:37:02 -07:00
Nathan Shively-Sanders
517dbf3ca7
Fix semicolon lint
2017-10-09 11:14:24 -07:00
Andy
2796ebfe35
In resolveNameHelper, use a lastNonBlockLocation ( #18918 )
2017-10-09 11:04:28 -07:00
Charles Pierce
79f5d968a1
Use ancestor walk to determine if property access is within constructor #9230
2017-10-09 10:57:08 -07:00
Nathan Shively-Sanders
405d8cf8eb
In getSuggestionForNonexistentSymbol, guard name against undefined
2017-10-09 10:45:50 -07:00
Andy
8a55baf9a3
In @typedef tag, handle property with no type ( #19013 )
2017-10-09 09:58:02 -07:00
Charles Pierce
9e00df590d
Error when accessing abstract property in constructor #9230
2017-10-06 19:46:29 -07:00
Arthur Ozga
932b1b038c
better error message
2017-10-06 16:16:37 -07:00
Arthur Ozga
0afaadba3b
add error for multiple tags
2017-10-06 15:56:39 -07:00
Klaus Meinhardt
9935bc0b2f
Merge branch 'master' into update-types3
2017-10-07 00:15:20 +02:00
Andy
e821c2b6e9
A parameter not declared as a rest parameter is not one ( #18825 )
2017-10-06 15:05:00 -07:00
Andy
71f8852124
Have getNameOfDeclaration return x for export default x. ( #18616 )
2017-10-06 14:29:45 -07:00
Arthur Ozga
fbf8df66f0
accept baselines
2017-10-06 14:27:32 -07:00
Arthur Ozga
5ea3ca4ef9
Merge branch 'master' into dev/aozgaa/JsDocExtendsSupport
2017-10-06 14:25:31 -07:00
Anders Hejlsberg
b7e744a0e5
Merge pull request #18976 from Microsoft/strictCallbackParameters
...
Strictly check callback parameters
2017-10-06 21:36:52 +01:00
Nathan Shively-Sanders
afa4842b2a
Merge pull request #16363 from Microsoft/excess-property-checks-for-discriminated-unions
...
Excess property checks for discriminated unions
2017-10-06 10:54:04 -07:00
Andy
3b9bbb3e55
Remove duplicate assignment ( #18994 )
2017-10-06 10:31:45 -07:00
Andrew Casey
5c9f8c56d9
Mark getSynthesizedDeepClone @internal
2017-10-06 10:20:12 -07:00
Anders Hejlsberg
7fcf51960d
Add tests
2017-10-06 09:22:10 -07:00
Nathan Shively-Sanders
e1bc916b91
Merge branch 'master' into excess-property-checks-for-discriminated-unions
2017-10-06 09:18:57 -07:00
Anders Hejlsberg
c8d5260914
Accept new baselines
2017-10-06 09:17:18 -07:00
Anders Hejlsberg
70e259aba3
Always use callback parameter code path, but stricter if necessary
2017-10-06 09:16:57 -07:00
Wesley Wigham
7a4c3314e8
Visit default export expressions ( #18977 )
2017-10-05 16:47:24 -07:00
Andrew Casey
ad148dbc88
Use deep cloning, rather than thunking for repeated substitution
...
Replaces b244cd4fb4
2017-10-05 15:46:14 -07:00
Andrew Casey
380b8df13f
Introduce getSynthesizedDeepClone
2017-10-05 15:38:02 -07:00
Andrew Casey
a5e1841180
Handle undefined in getSynthesizedClone
2017-10-05 15:37:47 -07:00
Daniel Rosenwasser
28658de66c
Merge pull request #18969 from Microsoft/uncalledDecoratorQuickFix
...
Quick fix for potentially uncalled decorators
2017-10-05 14:42:39 -07:00
Ron Buckton
7fd38c838b
Merge branch 'master' into dynamicNames
2017-10-05 14:11:52 -07:00