TS TypeSafe 文档中文版 原文 ↗

接口:SystemOneRequest<Q>

systemOne 的状态与具名问题。

请求变量上的附加属性会被转发,包括 null 值。

扩展自

类型参数

Q

Q extends Questions = Questions

属性

model?

typescript
optional model?: string;
 

模型覆盖项;省略的值继承 defaultModel。


questions

typescript
questions: Q;
 

非空的问题集合,以用于标识其答案的名称作为键。


state

typescript
state: EntryType;
 

要评估的文本、JSON 对象或数组,或 null。