Commit graph

8 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
Anders Hejlsberg 0b37adc3a7 Fix fourslash test 2017-05-22 16:48:45 -07:00
Andy Hanson 956c582786 Simplify quick-info tests 2016-09-13 11:49:01 -07:00
Andy Hanson d47b3e22e5 Remove useless inserts that used to be required to trigger checks 2016-08-30 07:10:14 -07:00
Jason Freeman c0b3835b19 Instantiate signatures if there is an overload resolution error but type arguments present 2015-07-17 17:22:51 -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 58cfc985b9 Merge branch 'master' into symbolInfoFormatting 2014-10-08 18:25:42 -07:00
Sheetal Nandi 430f361353 Enabling more test cases 2014-10-07 11:30:27 -07:00