TypeScript/tests/cases/fourslash/syntacticClassificationsTripleSlash18.ts
Andrew Casey 00d37268e8 Make triple-slash comment classification more restrictive
It was overly permissive and ended up making a mess of C#-style
comments:

`/// <summary>Text</summary>`

Now it checks the element name.  Attribute names remain unchecked.
2019-08-23 12:55:10 -07:00

7 lines
192 B
TypeScript

/// <reference path="fourslash.ts"/>
//// /// <reference>Text</reference>
var c = classification;
verify.syntacticClassificationsAre(
c.comment("/// <reference>Text</reference>"));