typescript解构赋值怎么指定类型?-灵析社区

代码大师

const [invoice, customers]: [InvoiceForm, CustomerField] = await Promise.all([ fetchInvoiceById(id), fetchCustomers(), ]);

阅读量:1

点赞量:0

问AI