11.3.1 • Published 1 year ago

lite-ts-ioc v11.3.1

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
1 year ago

Version

安装

npm install lite-ts-ioc

使用

import { get,set } from 'lite-ts-ioc';

// 容器内容实例化
const rpc = new AjaxRpc();
set(RpcBase,rpc);

// 获取容器内容
const rpc = get<RpcBase>(rpc);