TypeScript/tests/cases/fourslash/scriptLexicalStructureMissingName2.ts

12 lines
235 B
TypeScript
Raw Normal View History

2014-12-04 00:05:38 +01:00
/////**
//// * This is a class.
//// */
////class /* But it has no name! */ {
//// foo() {
//// }
////}
// The class is unnamed, so its method is not included either.
verify.getScriptLexicalStructureListCount(0);