Thanks to visit codestin.com
Credit goes to github.com

Skip to content

material.setAssets typescript 类型定义错误 #2841

@shiye515

Description

@shiye515

Describe the bug (required) / 详细描述 bug(必填)

A clear and concise description of what the bug is. / 请提供清晰且精确的 bug 描述

文件 packages/types/src/shell/api/material.ts中类型定义错误
原定义:

 /**
   * 设置「资产包」结构
   * set data for Assets
   * @returns void
   */
  setAssets(assets: IPublicTypeAssetsJson): void;

函数返回值应改为 Promise


Environments (please complete the following information) (required): / 请提供如下信息(必填)

  • @alilc/lowcode-types 1.3.0-beta.9, 1.2.5 都存在此问题

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed / 老铁,赚 PR 的机会来了

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions