diff --git a/packages/core/src/Visitor.ts b/packages/core/src/Visitor.ts index 14173cfdd35..bfed5e770cf 100644 --- a/packages/core/src/Visitor.ts +++ b/packages/core/src/Visitor.ts @@ -797,7 +797,6 @@ export class Visitor { return n; } visitTsPropertySignature(n: TsPropertySignature): TsPropertySignature { - n.params = this.visitTsFnParameters(n.params); n.typeAnnotation = this.visitTsTypeAnnotation(n.typeAnnotation); return n; } diff --git a/packages/types/index.ts b/packages/types/index.ts index aab5182cdbe..2c5b3757c21 100644 --- a/packages/types/index.ts +++ b/packages/types/index.ts @@ -2426,11 +2426,7 @@ export interface TsPropertySignature extends Node, HasSpan { computed: boolean; optional: boolean; - init?: Expression; - params: TsFnParameter[]; - typeAnnotation?: TsTypeAnnotation; - typeParams?: TsTypeParameterDeclaration; } export interface TsGetterSignature extends Node, HasSpan {