Commit graph

5 commits

Author SHA1 Message Date
Wesley Wigham 16450a027a
Change the default type parameter constraints and defaults to unknown from {} (#30637)
* Change the default type parameter constraint and default to unknown from {}

* Relax unknown checking outside of strictNullChecks a bit

* Increase strictness on index signatures with type `unknown` so inference doesnt change surprisingly

* Remove redundant switch
2019-04-04 12:25:15 -07:00
Andy Hanson 956c582786 Simplify quick-info tests 2016-09-13 11:49:01 -07:00
Cyrus Najmabadi eed6f0deca Use an output format for quickinfo that more closely matches the original source.
i.e. use  "var v: string" instead of "(var) v: string".

The parens case should only be used when we're using an english description instead of
an actual language construct.
2015-03-24 00:16:49 -07:00
Sheetal Nandi 90e2c362a5 Move the symbol classification and display parts writing to the Services and format the newlines correctly 2014-09-30 17:08:59 -07:00
Mohamed Hegazy 4ad7452a58 Enable passing fourslash tests 2014-07-29 12:17:44 -07:00
Renamed from tests/cases/fourslash_old/constructorQuickInfo.ts (Browse further)