TypeScript/tests/cases/fourslash/semanticClassification1.ts

16 lines
495 B
TypeScript
Raw Normal View History

2014-09-16 02:39:48 +02:00
/// <reference path="fourslash.ts"/>
//// module /*0*/M {
//// export interface /*1*/I {
2014-09-16 02:39:48 +02:00
//// }
//// }
//// interface /*2*/X extends /*3*/M./*4*/I { }
2014-09-16 02:39:48 +02:00
var c = classification;
verify.semanticClassificationsAre(
c.moduleName("M", test.marker("0").position),
c.interfaceName("I", test.marker("1").position),
c.interfaceName("X", test.marker("2").position),
c.moduleName("M", test.marker("3").position),
c.interfaceName("I", test.marker("4").position));