refactor: remove forwarding exports and redundant aliases

This commit is contained in:
morluto
2026-10-09 22:45:18 +08:00
parent 69c3b32a21
commit ad59531a96
416 changed files with 855 additions and 1208 deletions
@@ -20,12 +20,11 @@ import {
evaluateSemanticBinding,
evaluateSemanticProvenance,
} from "./javascriptSemanticValues.js";
import { range, stringValue } from "./javascriptStaticAnalysisHelpers.js";
import {
propertyName,
range,
stringValue,
} from "./javascriptStaticAnalysisHelpers.js";
import { semanticStaticPropertyKey } from "./javascriptAstValues.js";
semanticStaticPropertyKey,
} from "./javascriptAstValues.js";
interface CollectCallableInput {
readonly node: t.Node;
@@ -181,11 +180,6 @@ export const immutableSemanticBindings = (
}))
.sort((left, right) => compareCodePoints(left.bindingId, right.bindingId));
export {
semanticStaticPropertyKey,
semanticStaticPropertyName,
} from "./javascriptAstValues.js";
const callableKind = (
node: t.Node,
): "function" | "class" | "method" | undefined => {