Kanchalai Tanglertsampan
faab927c8d
Merge branch 'master' into master-dynamicImport
...
# Conflicts:
# src/compiler/checker.ts
# src/compiler/emitter.ts
# src/compiler/parser.ts
# src/compiler/transformers/module/module.ts
# src/compiler/transformers/module/system.ts
2017-05-24 11:26:06 -07:00
Yui
21a35b256d
Merge pull request #16052 from Microsoft/master-fix15825
...
[Master] fix 15825
2017-05-24 10:56:58 -07:00
Kanchalai Tanglertsampan
bd422e3a52
Add tests and update baselines
2017-05-23 16:11:23 -07:00
Herrington Darkholme
2f65b2c160
fix #11463 , null assertion block uninitialized error ( #14020 )
2017-05-23 14:13:32 -07:00
Mohamed Hegazy
5ef6192c20
Allow export default interface. Related to issue 3792. ( #16040 )
...
* Allow export default interface. Related to issue 3792.
* Update exportDefaultAbstractClass test
* Allow default export to be a non-value for lookup purposes
* Add local usage to exportDefaultInterface test
2017-05-23 13:40:03 -07:00
Andy
23b2545586
Merge pull request #16031 from Microsoft/isWriteAccess
...
findAllReferences: Make "isWriteAccess" handle special declaration kinds
2017-05-23 11:11:18 -07:00
Yui
1c3cdf11b5
Fix the issue 15232 ( #16004 )
2017-05-23 10:26:07 -07:00
Yui
e4aa515191
[Master] Fix 15179 missing comment in switch case clause ( #16033 )
...
* Fix emit comments after switch case clause
* Update baselines
* Add new tests and baselines
2017-05-23 10:24:46 -07:00
Andy
7adfa8d854
Merge pull request #16023 from Microsoft/mrjs
...
In path mapping module resolution, try loading from path as directory even if it has an extension
2017-05-23 09:58:06 -07:00
Andy
8b15e2b523
Merge pull request #16026 from Microsoft/importEqualsMethod
...
buildSymbolDisplay: Handle alias parentSymbol
2017-05-23 09:57:32 -07:00
Andy Hanson
7b0bd090e2
findAllReferences: Make "isWriteAccess" handle special declaration kinds
2017-05-23 09:14:19 -07:00
Andy Hanson
3690926e62
In path mapping module resolution, try loading from path as directory even if it has an extension
2017-05-23 08:11:42 -07:00
Andy Hanson
8894915d1a
buildSymbolDisplay: Handle alias parentSymbol
2017-05-23 08:03:43 -07:00
Arthur Ozga
567b10d71c
Merge pull request #15545 from aozgaa/atTypesPrefixAndImportSuffix
...
At types prefix and import suffix
2017-05-22 16:53:04 -07:00
Nathan Shively-Sanders
bc914c02e6
Merge pull request #15932 from Microsoft/decl-emit-class-expr-as-type-literal
...
Declaration-emit class expressions as type literals
2017-05-22 15:46:38 -07:00
Nathan Shively-Sanders
ecaf44d474
Add more tests and update baselines
2017-05-22 14:57:56 -07:00
Andy
bba8e74496
Fix path in importDeclTypes.ts test ( #15992 )
2017-05-22 10:25:40 -07:00
Nathan Shively-Sanders
a0fa8ae6c4
Address most PR comments
...
I am still working on the error for class expressions that extend from a
non-exported base.
2017-05-22 10:18:31 -07:00
Andy
24d98f2295
Merge pull request #15856 from Microsoft/jsdoc
...
Support for JSDoc in services
2017-05-22 07:46:52 -07:00
Ryan Cavanaugh
f489f5af4d
Merge pull request #15569 from RyanCavanaugh/new_refactor
...
Refactoring support
2017-05-19 11:23:46 -07:00
Ryan Cavanaugh
f6fbe61718
Refactoring support (squash)
2017-05-19 10:45:49 -07:00
Andy
616edae4af
Merge pull request #15954 from Microsoft/typeArgs
...
Unconditionally compute type arguments of class base type
2017-05-19 10:36:39 -07:00
Noel Varanda
4cd20b1335
Fix #15540 : Throw error when importing @types ( #15866 )
...
* Fix #15540 : Throw error when importing @types
Fix issue: #15540
- Modify checker; external imports to account for imported modules
containing '@types/'.
- Add diagnostic message.
- Add test case
* FIX-15540: Review changes
- Replace `substr` with `startsWith`
- move diagnostics message to more relevant place
- Add `removePrefix` helper function
2017-05-19 09:38:04 -07:00
Andy Hanson
ce1e0097f0
Unconditionally compute type arguments of class base type
2017-05-19 08:56:56 -07:00
Andy Hanson
d646c727e7
Merge branch 'master' into jsdoc
2017-05-19 08:18:18 -07:00
Andy Hanson
ba884bc27b
Merge branch 'master' into jsdoc
2017-05-19 08:14:52 -07:00
Andy
38ece3b703
Merge pull request #15737 from Microsoft/findAllRefs_module
...
Support find-all-references for a module specifier
2017-05-19 08:11:56 -07:00
Nathan Shively-Sanders
db3696c789
Test:retain undefined in spreads w/strictNullChecks
...
Add test case and update baselines with new errors
2017-05-18 13:59:07 -07:00
Nathan Shively-Sanders
e77024915e
Test:decl emit for class expressions as type lits
...
Add test and update baselines
2017-05-18 09:11:26 -07:00
Andy
5e20c1ce11
Merge pull request #15910 from Microsoft/primitives
...
getAllPossiblePropertiesOfTypes: Skip primitives
2017-05-17 13:10:56 -07:00
Anders Hejlsberg
afee4fbd84
Merge pull request #15486 from Microsoft/literalEnumTypes
...
String valued members in enums
2017-05-17 13:06:20 -07:00
Andy Hanson
c4c9bf70c4
Add | undefined to test
2017-05-17 12:51:37 -07:00
Anders Hejlsberg
947abf5d6b
Merge branch 'master' into literalEnumTypes
...
# Conflicts:
# src/compiler/checker.ts
# src/compiler/diagnosticMessages.json
# src/compiler/types.ts
# src/compiler/utilities.ts
# src/services/completions.ts
2017-05-17 11:59:12 -07:00
Nathan Shively-Sanders
86661b5272
Merge pull request #13900 from Microsoft/object-literal-freshness-with-spread
...
Object literal freshness errors with spreads
2017-05-17 11:44:25 -07:00
Nathan Shively-Sanders
fc306ba641
Merge pull request #15849 from Microsoft/allow-spread-after-required-params
...
Allow spreading arrays after required parameters
2017-05-17 09:14:20 -07:00
Andy Hanson
b9c3a992e1
getAllPossiblePropertiesOfTypes: Skip primitives
2017-05-17 08:26:51 -07:00
Andy Hanson
0c60824860
Set @typedef parent pointer, but still do not bind a symbol
2017-05-17 08:02:07 -07:00
Andy Hanson
76955ce792
Expand tests that jsdoc does not affect typescript code
2017-05-17 07:27:08 -07:00
Andy Hanson
dc40f5d6b9
Merge branch 'master' into jsdoc
2017-05-17 07:17:32 -07:00
Arthur Ozga
11019e4a4a
Merge branch 'master' into typeToStringViaTypeNode
2017-05-16 15:35:31 -07:00
Arthur Ozga
bba41a8a0c
avoid ascii escaping literal text
2017-05-15 18:42:49 -07:00
Mohamed Hegazy
d51e467238
Fix #15463 : use intersection types to emulate spread in generic react components ( #15851 )
...
* Fix #15463 : use intersection types to emulate spread in generic react components
* Fix lint errors
* reverse condition
2017-05-15 15:46:50 -07:00
Andy Hanson
0140e6df77
Remove goToImplementation test, not supported for parameters
2017-05-15 15:02:47 -07:00
Andy Hanson
38784b761a
Support for JSDoc in services
2017-05-15 14:45:30 -07:00
Arthur Ozga
d8f29a5fe8
update tests
2017-05-15 12:42:28 -07:00
Nathan Shively-Sanders
cefcc668a8
Correct test argument in callwithSpread2
2017-05-15 10:55:58 -07:00
Nathan Shively-Sanders
4c80aa17b3
Clean up comments in tests
2017-05-15 10:38:51 -07:00
Nathan Shively-Sanders
9ba0668afa
Test:spread array after required params
2017-05-15 10:20:28 -07:00
Andy Hanson
5eb2bd08ac
findAllReferences: In export default foo, symbol name is foo
2017-05-15 08:34:05 -07:00
Sheetal Nandi
303d7b209e
Merge branch 'master' into completionListForClassElementDeclarations
2017-05-12 15:31:52 -07:00