Commit graph

7 commits

Author SHA1 Message Date
Andy c97fc64972
Always use verify.completions when testing completions (#28137) 2018-10-29 10:03:25 -07:00
Nathan Shively-Sanders ff05082e45
Bind non-expando property assignments at top-level (#26908)
* Bind non-expando property assignments at toplevel

Previously, only property assignments with expando initialisers were
bound in top-level statements. Now, all property assignments are bound.

This requires a matching change in the checker to make sure that these
assignments remain context sensitive if their valueDeclaration is a
'real' declaration (ie a non assignment-declaration).

* Add baselines for new test
2018-09-05 10:53:43 -07:00
Andy 9f4abe2d79
Improve completions testing (#23591) 2018-05-01 13:00:13 -07:00
Andy Hanson 42a832ad3d Refactor findAllReferences. Now supports renamed exports and imports. 2017-02-16 06:48:00 -08:00
Andy Hanson 9f20077914 Use "completionList" methods instead of "memberList" ones, since they're identical 2016-12-07 13:36:11 -08:00
Mohamed Hegazy 2cd404038e Port fix in https://github.com/Microsoft/TypeScript/pull/11293 to correct file 2016-10-13 17:26:12 -07:00
Mohamed Hegazy 4ad7452a58 Enable passing fourslash tests 2014-07-29 12:17:44 -07:00
Renamed from tests/cases/fourslash_old/functionTypes.ts (Browse further)