Commit Graph

12831 Commits

Author SHA1 Message Date
Andy Hanson
543b484ec5 Remove trailing whitespace 2016-06-06 08:17:14 -07:00
Andy Hanson
f832488801 Add "implicit any" warning for shorthand ambient modules 2016-06-06 08:14:49 -07:00
Andy Hanson
2fc2f5c4b9 Fix signature help 2016-06-06 07:50:32 -07:00
york yao
f5ab9d7289 change type definition for Object.create 2016-06-06 07:22:37 +08:00
Mohamed Hegazy
18a875807c Remove restriction on --target es5 and --module es6 2016-06-05 15:37:20 -07:00
Anders Hejlsberg
3b1effb7df Adding regression test 2016-06-04 14:50:37 -07:00
Anders Hejlsberg
bb7818b837 Consider property declarations to be control flow containers 2016-06-04 14:42:45 -07:00
Anders Hejlsberg
6dcd5877a0 Merge pull request #8962 from Microsoft/propertyAccessNarrowing
Fix narrowing of property access expressions
2016-06-03 18:13:55 -07:00
Anders Hejlsberg
87ee72b25a Add regression test 2016-06-03 17:31:28 -07:00
Anders Hejlsberg
a5e9071a2f Fix fourslash test 2016-06-03 17:31:16 -07:00
Anders Hejlsberg
39c4e8ad1f Remove unnecessary restrictions in property access narrowing 2016-06-03 17:30:49 -07:00
Andy
3aaa4ea833 Merge pull request #8957 from Microsoft/navbar_indent
Include indent in navigation bar protocol
2016-06-03 10:57:29 -07:00
Andy
baebf2b690 Merge pull request #8959 from Microsoft/stringify
Use a function `stringify` to simplify calls to `JSON.stringify(xyz, undefined, 2)`
2016-06-03 10:41:50 -07:00
Andy Hanson
e412f52b33 Include indent in navigation bar protocol
Previously navbar01 test had indents when run in the browser but not when run from node. Now they run the same.
2016-06-03 10:04:03 -07:00
Andy Hanson
2bed32d308 Fix mistake 2016-06-03 09:42:16 -07:00
Andy Hanson
8b0974a77e Update tests 2016-06-03 09:29:21 -07:00
Andy Hanson
c8ced6703a Use a function stringify to simplify calls to JSON.stringify(xyz, undefined, 2) 2016-06-03 08:43:48 -07:00
Andy Hanson
ed6bfcdb08 Add merging tests 2016-06-03 06:45:00 -07:00
Andy Hanson
1541ebe781 Respond to PR comments 2016-06-03 06:34:33 -07:00
Andy Hanson
094f97e366 Respond to PR comments 2016-06-03 06:22:34 -07:00
Anders Hejlsberg
13698a9952 Add test 2016-06-02 17:37:25 -07:00
Anders Hejlsberg
bcc9220451 Improve typing of && operator with --strictNullChecks 2016-06-02 17:37:14 -07:00
Anders Hejlsberg
3853555b49 Merge pull request #8944 from Microsoft/reviseWidening
No widening in strict null checking mode
2016-06-02 15:18:33 -07:00
Zhengbo Li
131f759c5c Merge pull request #8930 from zhengbli/i8676
Run fixupParentReferences when parsing isolated jsDocComment
2016-06-02 14:15:14 -07:00
Nathan Shively-Sanders
24f15a4ec9 Merge pull request #8946 from Microsoft/revert-narrow-all-types
Revert "Merge pull request #7235 from weswigham/narrow-all-types"
2016-06-02 13:46:06 -07:00
zhengbli
e2a1a78dd3 reuse the fixupParentReferences function 2016-06-02 13:26:15 -07:00
Nathan Shively-Sanders
fc3e040c51 Revert "Merge pull request #7235 from weswigham/narrow-all-types"
This reverts commit ef0f6c8fe4, reversing
changes made to 9f087cb62a.
2016-06-02 12:57:24 -07:00
Andy Hanson
7e9cb46a1a Support shorthand ambient module declarations 2016-06-02 12:55:48 -07:00
zhengbli
d41ac8aa9a Add null check and CR feedback 2016-06-02 11:12:38 -07:00
Vladimir Matveev
7e00d7e595 Merge pull request #8931 from Microsoft/tsserver-projectsystem-tests
initial revision of unit test support for project system in tsserver
2016-06-02 11:07:08 -07:00
Anders Hejlsberg
fb2df77a59 Remove unused variable 2016-06-02 10:47:47 -07:00
Nathan Shively-Sanders
ef0f6c8fe4 Merge pull request #7235 from weswigham/narrow-all-types
Fix #7224, #7441 - Replace TypeFlags.Narrowable
2016-06-02 10:01:32 -07:00
Anders Hejlsberg
20bab14224 Add tests 2016-06-02 09:39:47 -07:00
Anders Hejlsberg
9f087cb62a Merge pull request #8941 from Microsoft/controlFlowPropertyDeclarations
Create control flows for property declarations
2016-06-02 09:21:49 -07:00
Andy Hanson
4281bf5752 Allow trailing commas in function parameter and argument lists 2016-06-02 08:18:21 -07:00
Anders Hejlsberg
706683d51b Add regression test 2016-06-02 06:54:27 -07:00
Anders Hejlsberg
5f3f2d302f Create separate control flows for property declarations with initializers 2016-06-02 06:47:37 -07:00
Anders Hejlsberg
2517238269 Add non-widening forms of null and undefined 2016-06-02 06:32:14 -07:00
Andy Hanson
3b19825890 Allow wildcard ("*") patterns in ambient module declarations 2016-06-02 05:44:49 -07:00
Vladimir Matveev
92177bee91 initial revision of unit test support for project system in tsserver 2016-06-02 00:03:10 -07:00
zhengbli
0e96c5eaf1 Run fixupParentReferences when parsing isolated jsDocComment 2016-06-01 22:57:25 -07:00
Andy Hanson
9575b3c3ca Revert to old tryLoad implementation 2016-06-01 11:44:12 -07:00
Nathan Shively-Sanders
9a620bf616 Actually merge from master 2016-06-01 11:39:22 -07:00
Nathan Shively-Sanders
d111a0f733 Merge branch 'master' into narrow-all-types 2016-06-01 11:27:50 -07:00
Andy Hanson
9179f4ca42 Fix test 2016-06-01 10:43:39 -07:00
Zhengbo Li
166f399d17 Merge pull request #8103 from zhengbli/typedefForJsdoc
[Salsa] Support @typedef for jsdoc
2016-05-31 16:24:44 -07:00
zhengbli
eb0f035c78 Remove unused parameter 2016-05-31 16:08:12 -07:00
zhengbli
630517b8ad Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 15:30:42 -07:00
Anders Hejlsberg
4095602ce5 Merge pull request #8849 from Microsoft/outerControlFlows
Improve control flow analysis in function expressions
2016-05-31 14:51:39 -07:00
Zhengbo Li
5c095a8975 Merge pull request #8901 from zhengbli/formatOnTypeCurrentLine1
Not let the "Format on enter" feature delete the indentation of the current line
2016-05-31 14:35:22 -07:00