TypeScript/tests/cases/fourslash/quickInfoOnUndefined.ts

15 lines
270 B
TypeScript
Raw Normal View History

2014-10-07 22:00:46 +02:00
/// <reference path='fourslash.ts'/>
////function foo(a: string) {
////}
////foo(/*1*/undefined);
////var x = {
//// undefined: 10
////};
////x./*2*/undefined = 30;
2014-10-07 22:00:46 +02:00
2016-09-09 18:02:55 +02:00
verify.quickInfos({
1: "var undefined",
2: "(property) undefined: number"
});