TypeScript/tests/cases/fourslash/syntacticClassificationsTripleSlash12.ts
Andrew Casey 9647506d8c Support classification of triple-slash references
Note: not restricted to the element and attribute names that actually
bind
2019-07-25 15:59:17 -07:00

19 lines
560 B
TypeScript

/// <reference path="fourslash.ts"/>
//// /// <reference path="./module.ts" bad types="node" />
var c = classification;
verify.syntacticClassificationsAre(
c.comment("/// "),
c.punctuation("<"),
c.jsxSelfClosingTagName("reference"),
c.comment(" "),
c.jsxAttribute("path"),
c.operator("="),
c.jsxAttributeStringLiteralValue("\"./module.ts\""),
c.comment(" bad "),
c.jsxAttribute("types"),
c.operator("="),
c.jsxAttributeStringLiteralValue("\"node\""),
c.comment(" "),
c.punctuation("/>"));