TypeScript/tests/cases/fourslash/referencesForObjectLiteralProperties.ts
2014-08-18 13:00:31 -07:00

15 lines
280 B
TypeScript

/// <reference path='fourslash.ts'/>
// References to an object literal property
////var x = { /*1*/add: 0, b: "string" };
////x["add"];
////x./*2*/add;
////var y = x;
////y.add;
goTo.marker("1");
verify.referencesCountIs(4);
goTo.marker("2");
verify.referencesCountIs(4);