Skip to content

Commit 3f5a62b

Browse files
ApsarasXMaxGraey
andauthored
fix: Fix variable name typo in resolveClass (#2318)
Co-authored-by: Max Graey <maxgraey@gmail.com>
1 parent 422b98a commit 3f5a62b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/resolver.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,12 +2896,12 @@ export class Resolver extends DiagnosticEmitter {
28962896
if (instance) return instance;
28972897

28982898
// Otherwise create
2899-
var nameInclTypeParamters = prototype.name;
2900-
if (instanceKey.length) nameInclTypeParamters += `<${instanceKey}>`;
2899+
var nameInclTypeParameters = prototype.name;
2900+
if (instanceKey.length) nameInclTypeParameters += `<${instanceKey}>`;
29012901
if (prototype.kind == ElementKind.INTERFACE_PROTOTYPE) {
2902-
instance = new Interface(nameInclTypeParamters, <InterfacePrototype>prototype, typeArguments);
2902+
instance = new Interface(nameInclTypeParameters, <InterfacePrototype>prototype, typeArguments);
29032903
} else {
2904-
instance = new Class(nameInclTypeParamters, prototype, typeArguments);
2904+
instance = new Class(nameInclTypeParameters, prototype, typeArguments);
29052905
}
29062906
prototype.setResolvedInstance(instanceKey, instance);
29072907
var pendingClasses = this.resolveClassPending;

0 commit comments

Comments
 (0)