Skip to content

Commit 5902018

Browse files
committed
Remove my helper because why not
1 parent df695d9 commit 5902018

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Diff for: src/compiler/checker.ts

-11
Original file line numberDiff line numberDiff line change
@@ -2206,17 +2206,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
22062206
var identityRelation = new Map<string, RelationComparisonResult>();
22072207
var enumRelation = new Map<string, RelationComparisonResult>();
22082208

2209-
// function relationName(relation: Map<string, RelationComparisonResult>): string {
2210-
// if (relation === subtypeRelation) return "subtype";
2211-
// if (relation === strictSubtypeRelation) return "strict subtype";
2212-
// if (relation === assignableRelation) return "assignable";
2213-
// if (relation === comparableRelation) return "comparable";
2214-
// if (relation === identityRelation) return "identity";
2215-
// if (relation === enumRelation) return "enum";
2216-
// Debug.fail("Unknown relation");
2217-
// }
2218-
// (globalThis as any).__relationName = relationName;
2219-
22202209
var builtinGlobals = createSymbolTable();
22212210
builtinGlobals.set(undefinedSymbol.escapedName, undefinedSymbol);
22222211

0 commit comments

Comments
 (0)