We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40b8d0f commit b0ff856Copy full SHA for b0ff856
1 file changed
packages/utils-core/test/dict.test.ts
@@ -18,7 +18,7 @@ describe('枚举定义测试', () => {
18
Pending: { readonly value: 0; readonly label: '待处理'; level: 11 };
19
Approved: { readonly value: 1; readonly label: '已批准'; level: 22 };
20
}>(Status.definition);
21
- assertType<{ label: string; key: 'Pending' | 'Approved' }[]>(Status.descriptions);
+ assertType<{ value: 0 | 1; label: string; level: number; key: 'Pending' | 'Approved' }[]>(Status.descriptions);
22
23
assertType<['Pending', 'Approved']>(Status.keys);
24
assertType<2>(Status.length);
0 commit comments