Closed
Description
interface Foo { a }
let x = Foo // "'Foo' only refers to a type but it used as a value"
let y = any // 'any' is not found
Expected: error messages are the same.
Actual: let y = any
has the generic 'any'-not-found message.
I'm not sure how often people say new string[]
, but our tests definitely say it a lot!