1 Star 0 Fork 0

wy2010344/npm_mve

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.d.ts 867 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangyang 提交于 2021-10-15 15:55 . 更新
import { EOChild } from "./childrenBuilder";
import { EOParseResult, mve, ShouldChange } from "./util";
export declare function objectForEach<T>(vs: {
[key: string]: T;
}, fun: (v: T, k: string) => void): void;
export declare const parseUtil: {
bind<T>(me: mve.LifeModel, value: mve.MTValue<T, any>, fun: (v: T) => void, shouldChange: ShouldChange<T>): void;
bindKV<T_1>(me: mve.LifeModel, map: {
[key: string]: mve.MTValue<T_1, any>;
}, fun: (k: string, v: T_1) => void, shouldChange: ShouldChange<T_1>): void;
};
export interface ElementResult<JO, EO> {
(n: JO): EOChild<EO>;
one(me: mve.LifeModel, n: JO): EOParseResult<EO>;
root(fun: (me: mve.LifeModel) => JO): EOParseResult<EO>;
}
/**原始的组装*/
export declare function buildElement<JO, EO>(fun: (me: mve.LifeModel, n: JO) => EOParseResult<EO>): ElementResult<JO, EO>;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/wy2010344/npm_mve.git
[email protected]:wy2010344/npm_mve.git
wy2010344
npm_mve
npm_mve
master

搜索帮助