Skip to content

[Field]优化 Field 类型注释 #4991

Closed
@xxih

Description

@xxih

Component

Field

Feature Description

  const field = Field.useField<{
    schemaName: string;
    tableName: string;
    comment: string;
    owner: string;
  }>({
    autoUnmount: false,
    values: {},
  });

希望支持这样的泛型写法,能使得 field 使用过程中有更好的类型提示。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions