Files
NapCatQQ/.pnpm-store/v3/files/3b/643516f8fbd77d9bf59a498eaaeb473b7d389bc902ce786cc4ca7c13cf9125a27530f975188dcba683810bd3024a4753beab3127cac00d38acbf60eb43da06
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
508 B
Plaintext

import DependencyContainer from "../types/dependency-container";
import Provider from "./provider";
/**
* Provide a dependency using a factory.
* Unlike the other providers, this does not support instance caching. If
* you need instance caching, your factory method must implement it.
*/
export default interface FactoryProvider<T> {
useFactory: (dependencyContainer: DependencyContainer) => T;
}
export declare function isFactoryProvider<T>(provider: Provider<T>): provider is FactoryProvider<any>;