We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00d3726 commit e3690c3Copy full SHA for e3690c3
src/services/classifier.ts
@@ -775,7 +775,7 @@ namespace ts {
775
// defined in `ts.commentPragmas` would be excessive, but we can avoid
776
// some obvious false positives (e.g. in XML-like doc comments) by
777
// checking the element name.
778
- if (!match[3] || !(commentPragmas as any)[match[3]]) {
+ if (!match[3] || !(match[3] in commentPragmas)) {
779
return false;
780
}
781
0 commit comments