新增NCBuilder接口 (#11)
新增NCBuilder接口; 优化部分类型定义,格式化代码; Reviewed-on: #11 Reviewed-by: 谢凡 <xief@163.com> Co-authored-by: 2817212736@qq.com <2817212736@qq.com> Co-committed-by: 2817212736@qq.com <2817212736@qq.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { ConfigBase } from "./models/config";
|
||||
/**
|
||||
* 加工处理器上下文
|
||||
*/
|
||||
export interface ProcessorContext<TInput, TOutput, TConfig extends ConfigBase> {
|
||||
export interface ProcessorContext<TInput = any, TOutput = any, TConfig extends ConfigBase = ConfigBase> {
|
||||
/**
|
||||
* 输入数据
|
||||
*/
|
||||
|
Reference in New Issue
Block a user