=== src/checks.ts
function _max() { return 1; }
export { _max as maxLength };
=== src/box.ts
export class Box { maxLength() { return 2; } }
=== src/use.ts
import * as checks from './checks';
export const x = checks.maxLength();
export const y = checks.deep.maxLength();
export const z = other.maxLength();
=== expected
symbol src/box.ts:1 Box class
symbol src/box.ts:1 maxLength method
symbol src/checks.ts:1 _max function
symbol src/checks.ts:2 maxLength const
symbol src/use.ts:2 x const
symbol src/use.ts:3 y const
symbol src/use.ts:4 z const
edge src/box.ts:1 Box defines maxLength -> src/box.ts:1 maxLength EXTRACTED 1
edge src/checks.ts:2 maxLength aliases _max -> src/checks.ts:1 _max EXTRACTED 1
edge src/checks.ts:2 src/checks.ts references _max -> src/checks.ts:1 _max EXTRACTED 1
edge src/use.ts:1 src/use.ts imports ./checks -> nothing EXTRACTED 1
edge src/use.ts:2 src/use.ts calls checks.maxLength -> src/checks.ts:2 maxLength EXTRACTED 1
edge src/use.ts:2 src/use.ts references checks -> nothing EXTRACTED 1
edge src/use.ts:3 src/use.ts calls checks.deep.maxLength -> src/checks.ts:2 maxLength INFERRED 0.85
edge src/use.ts:4 src/use.ts calls other.maxLength -> src/checks.ts:2 maxLength INFERRED 0.85
edge src/use.ts:4 src/use.ts references other -> nothing EXTRACTED 1
