Thanks to visit codestin.com Credit goes to github.com
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 db197f7 commit df1479cCopy full SHA for df1479c
packages/eslint-plugin-typescript/lib/rules/member-ordering.js
@@ -188,12 +188,13 @@ module.exports = {
188
* @private
189
*/
190
function getNodeType(node) {
191
+ // TODO: add missing TSCallSignatureDeclaration
192
switch (node.type) {
193
case 'MethodDefinition':
194
return node.kind;
195
case 'TSMethodSignature':
196
return 'method';
- case 'TSConstructSignature':
197
+ case 'TSConstructSignatureDeclaration':
198
return 'constructor';
199
case 'ClassProperty':
200
case 'TSPropertySignature':
0 commit comments