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 182d557 commit 884a7e1Copy full SHA for 884a7e1
src/properties-minifier.ts
@@ -240,7 +240,7 @@ function isClassMember(node: ts.Node): node is ClassMember {
240
}
241
242
function isConstructorParameter(node: ts.Node): node is ts.ParameterDeclaration {
243
- return ts.isParameter(node) && ts.isConstructorDeclaration(node.parent);
+ return ts.isParameter(node) && ts.isConstructorDeclaration(node.parent as ts.Node);
244
245
246
function getClassName(classNode: ts.ClassLikeDeclaration): string {
0 commit comments