Nathan Shively-Sanders
0041d5ce79
Merge pull request #10538 from Microsoft/find-declarations-of-js-module-export
...
Fix crash when checking module exports for export=
2016-08-25 16:14:13 -07:00
Nathan Shively-Sanders
6ee749f8b3
Get rid of absolute paths
2016-08-25 11:02:26 -07:00
Nathan Shively-Sanders
751b0a65de
Clean up maxNodeModuleJsDepth test
2016-08-25 10:25:17 -07:00
Nathan Shively-Sanders
c0309fa78e
Fix crash when checking module exports for export=
...
Also make maxNodeModuleJsDepth default to 0 so that incorrect tsconfigs
now let the compiler spend less time compiling JS that is found in
node_modules (especially since most people will already have the d.ts
and want ignore the JS anyway). jsconfig still defaults to 2.
2016-08-25 09:21:31 -07:00
Nathan Shively-Sanders
ddb5a00410
Merge pull request #10446 from YuichiNukiyama/fix10351
...
Add error message
2016-08-23 09:34:20 -07:00
Nathan Shively-Sanders
93de502656
Merge pull request #10486 from Microsoft/allowSyntheticDefaultImports-resolves-to-module
...
allowSyntheticDefaultImports resolves to modules instead of variables
2016-08-22 16:50:55 -07:00
Nathan Shively-Sanders
f028fa3f52
Merge pull request #9746 from Microsoft/instantiate-this-for-contextually-typed-type-parameters
...
Instantiate this for contextually typed type parameters
2016-08-22 16:47:13 -07:00
Yui
36130ffa64
Fix 10472: Invalid emitted code for await expression ( #10483 )
...
* Properly emit await expression with yield expression
* Add tests and update baselines
* Move parsing await expression into parse unary-expression
* Update incorrect comment
2016-08-22 16:37:04 -07:00
Nathan Shively-Sanders
046b55e9f1
allowSyntheticDefaultImports resolves to modules instead of variables
...
Fixes #10429 by improving the fix in #10096
2016-08-22 16:27:44 -07:00
Mohamed Hegazy
d133b0e550
Merge pull request #10407 from zhengbli/fixJsDocSyntacticClassification
...
Return non-JsDocComment children for syntactic classification
2016-08-22 16:06:48 -07:00
Nathan Shively-Sanders
a0137597f9
Merge pull request #10399 from Microsoft/jsdoc-never-undefined-null-types
...
JSDoc supports null, undefined and never types
2016-08-22 13:48:37 -07:00
Andy Hanson
92eb8df68c
Allow "typings" in a package.json to be missing its extension (but also allow it to have an extension)
2016-08-22 13:03:49 -07:00
Nathan Shively-Sanders
2c814f4413
Add jsdoc nullable union test case to fourslash
2016-08-22 10:08:57 -07:00
zhengbli
e445e012c4
Add test for jsdoc syntactic classification for function declaration
2016-08-20 20:41:33 -07:00
zhengbli
eeec775da0
Add more test for 10426
2016-08-20 19:12:11 -07:00
Yuichi Nukiyama
0c01874b31
follow advise
2016-08-20 21:24:46 +09:00
Yuichi Nukiyama
806e142cbf
Add error message
...
Add error message when trying to relate primitives to the boxed/apparent
backing types.
2016-08-20 12:36:57 +09:00
Zhengbo Li
d8ab098195
Merge pull request #10426 from zhengbli/9518
...
Treat special property access symbol differently when retriving documentation
2016-08-19 17:09:25 -07:00
Wesley Wigham
0168ab2051
Check return code paths on getters ( #10102 )
...
* Check return paths on getters
* Remove TODO comment
2016-08-19 13:34:06 -07:00
Andy
d2d5d42359
Merge pull request #9646 from Microsoft/no_ts_extension
...
Don't allow `.ts` to appear in an import
2016-08-19 06:49:33 -07:00
Andy Hanson
b482fa58f4
Merge branch 'master' into cast_of_await
2016-08-19 06:16:57 -07:00
Andy Hanson
b452469419
Fix tests
2016-08-19 06:14:28 -07:00
Andy Hanson
297cb50cbf
Merge branch 'master' into no_ts_extension
2016-08-19 06:11:46 -07:00
zhengbli
03dcdda443
Treat special property access symbol differently
...
... when retriving documentation
2016-08-18 17:12:40 -07:00
Mohamed Hegazy
a621c09606
Merge pull request #8241 from Microsoft/noImplicitAnyDestructuring
...
Do not report errors of implicit any during contexual type checking of binding pattern element
2016-08-18 16:18:52 -07:00
Daniel Rosenwasser
6facbf1e90
Merge pull request #10403 from Microsoft/completionsForNullableObjects
...
Fix completions for nullable objects
2016-08-18 14:00:30 -07:00
Andy Hanson
2e572201fd
Add more tests for export = foo.bar.
2016-08-18 07:38:20 -07:00
Daniel Rosenwasser
111b7c55f8
Added test.
2016-08-17 20:30:15 -07:00
Nathan Shively-Sanders
aa834d7f17
JSDoc supports null, undefined and never types
2016-08-17 15:49:57 -07:00
Mohamed Hegazy
5843bbbd76
Merge branch 'noErrorTruncation' of https://github.com/gcnew/TypeScript into gcnew-noErrorTruncation
...
# Conflicts:
# src/compiler/diagnosticMessages.json
2016-08-17 14:22:01 -07:00
Nathan Shively-Sanders
0f483d6546
Assign and instantiate contextual this type if not present
2016-08-17 14:21:49 -07:00
Anders Hejlsberg
4880e7ea9e
Merge pull request #10396 from Microsoft/fixNestedLoopTypeGuards
...
Fix nested loop type guards
2016-08-17 14:05:02 -07:00
Mohamed Hegazy
ef2d6ab014
Merge pull request #10342 from Microsoft/ambient_shorthand_is_explicit_any
...
Treat ambient shorthand declarations as explicit uses of the `any` type
2016-08-17 13:33:13 -07:00
Anders Hejlsberg
b93cdecdf5
Add regression test
2016-08-17 13:30:13 -07:00
Nathan Shively-Sanders
271ffc84a5
Merge branch 'master' into instantiate-this-for-contextually-typed-type-parameters
2016-08-17 11:03:26 -07:00
Nathan Shively-Sanders
9769718a38
Merge pull request #10123 from Microsoft/allow-js-multiple-declaration-of-constructor-properties
...
Allow JS multiple declarations of ctor properties
2016-08-17 10:58:50 -07:00
Nathan Shively-Sanders
c218d37191
Merge pull request #9995 from Microsoft/jsdoc-string-literal-types
...
JSDoc string literal types
2016-08-17 10:25:58 -07:00
Nathan Shively-Sanders
96840c3669
Merge branch 'master' into allow-js-multiple-declaration-of-constructor-properties
2016-08-17 09:04:10 -07:00
Nathan Shively-Sanders
000637156a
Merge pull request #10374 from Microsoft/readonly-array-type-argument-assignability
...
Improve ReadonlyArray<T>.concat to match Array<T>
2016-08-17 08:28:38 -07:00
Andy
ef4fefc197
Merge pull request #10340 from Microsoft/lower_case_types
...
Use lowercase names for type reference directives
2016-08-17 06:04:14 -07:00
Sheetal Nandi
02f908afd3
Merge branch 'master' into noImplicitAnyDestructuring
2016-08-16 16:24:29 -07:00
Anders Hejlsberg
905957d463
Merge pull request #10357 from Microsoft/implicitConstParameters
...
Implicit const parameters
2016-08-16 15:53:13 -07:00
Nathan Shively-Sanders
01aaff7247
Merge pull request #10009 from Microsoft/null-undefined-allowed-as-index-expressions
...
`Null` and `undefined` are allowed as index expressions
2016-08-16 15:46:42 -07:00
Nathan Shively-Sanders
ce5e2078ee
Improve ReadonlyArray<T>.concat to match Array<T>
...
The Array-based signature was incorrect and also out-of-date.
2016-08-16 11:29:09 -07:00
Yui
f7f50073d3
Fix 10625: JSX Not validating when index signature is present ( #10352 )
...
* Check for type of property declaration before using index signature
* Add tests and baselines
* fix linting error
2016-08-16 08:47:21 -07:00
Nathan Shively-Sanders
80c04f8e97
Merge pull request #10358 from Microsoft/classPropertyInference
...
Support this.prop = expr; assignments as declarations for ES6 JS classes — Take 2
2016-08-15 16:20:20 -07:00
Ryan Cavanaugh
11f27e8470
Merge pull request #10062 from YuichiNukiyama/fix9601
...
change error message for unused parameter property
2016-08-15 16:13:32 -07:00
Nathan Shively-Sanders
f3c085e595
Merge branch 'master' into classPropertyInference
2016-08-15 15:52:29 -07:00
Anders Hejlsberg
15dae3fd8a
Add tests
2016-08-15 15:21:12 -07:00
Andy Hanson
ccf5bab8ad
Treat ambient shorthand declarations as explicit uses of the any type
2016-08-15 08:51:15 -07:00