mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-17 21:09:09 -05:00
Fix declaration emit of divergent accessors in JS classes (#58172)
This commit is contained in:
committed by
GitHub
parent
4b01686602
commit
be1f89271c
@@ -9853,7 +9853,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
|
||||
/*dotDotDotToken*/ undefined,
|
||||
paramSymbol ? parameterToParameterDeclarationName(paramSymbol, getEffectiveParameterDeclaration(paramSymbol), context) : "value",
|
||||
/*questionToken*/ undefined,
|
||||
isPrivate ? undefined : serializeTypeForDeclaration(context, /*declaration*/ undefined, getTypeOfSymbol(p), p),
|
||||
isPrivate ? undefined : serializeTypeForDeclaration(context, /*declaration*/ undefined, getWriteTypeOfSymbol(p), p),
|
||||
)],
|
||||
/*body*/ undefined,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user