Skip to content

Commit a66e33e

Browse files
committed
add references to TypeScript spec for "new" and "constructor" keywords
1 parent 584b9d4 commit a66e33e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

javascript/ql/src/Declarations/SuspiciousMethodNameDeclaration.qhelp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,8 @@ in the first place.
4646
</example>
4747
<references>
4848

49+
<li>TypeScript specification: <a href="https://github.com/microsoft/TypeScript/blob/master/doc/spec.md#3.8.9">Constructor Type Literals</a></li>
50+
<li>TypeScript specification: <a href="https://github.com/microsoft/TypeScript/blob/master/doc/spec.md#8.3.1">Constructor Parameters</a></li>
51+
4952
</references>
5053
</qhelp>

0 commit comments

Comments
 (0)