mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
qhelp adjustment from code-review
Co-Authored-By: Esben Sparre Andreasen <42067045+esben-semmle@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2b5e3aebb7
commit
ced5e3ea29
@@ -4,7 +4,7 @@
|
||||
<qhelp>
|
||||
<overview>
|
||||
<p>
|
||||
In TypeScript the keywords <code>constructor</code> and <code>new</code> are
|
||||
In TypeScript the keywords <code>constructor</code> and <code>new</code> for member declarations are
|
||||
used to declare constructors in classes and interfaces respectively.
|
||||
However, by using the wrong keyword a programmer can accidentally declare e.g.
|
||||
a method called <code>constructor</code> inside an interface.
|
||||
|
||||
Reference in New Issue
Block a user