yarn add -D @digital-alchemy/symbols@digital-alchemy/symbols is the declaration-merge interface registry for
@digital-alchemy/core. It is a
types-only, zero-dependency package that ships a set of TypeScript interfaces —
LoadedModules, LoadedRollups, AsyncLogData, AsyncLocalData, IsIt,
DeclaredEnvironments, ConfigLoaderSource, ReplacementLogger,
AbstractConfig, and BaseConfig. These are the stable identities that
downstream @digital-alchemy libraries augment to wire themselves into core at
the type level. It is intentionally minimal.
You augment these interfaces through @digital-alchemy/core, which re-exports
them so every merge lands on a single shared identity:
export const LIB_UTILS = CreateLibrary({
name: "utils",
services: { fetch: FetchUtils },
});
declare module "@digital-alchemy/core" {
interface LoadedModules {
utils: typeof LIB_UTILS;
}
}