@nodesecure/js-x-ray
Version:
JavaScript AST XRay analysis
16 lines • 625 B
TypeScript
import type { CollectableSet, Type } from "./CollectableSet.ts";
import type { SourceArrayLocation } from "./utils/toArrayLocation.ts";
export interface CollectableSetRegistryAddOptions {
value: string;
file?: string | null;
location: SourceArrayLocation;
metadata?: Record<string, unknown>;
}
export declare class CollectableSetRegistry {
#private;
constructor(collectableSets: CollectableSet[]);
add(type: Type, options: CollectableSetRegistryAddOptions): void;
has(type: Type): boolean;
get(type: Type): CollectableSet | undefined;
}
//# sourceMappingURL=CollectableSetRegistry.d.ts.map