我的项目中有这个笑话
const action = async () => {
await hotelService.getByIdAsync(Identifier);
};
await expect(action()).rejects.toThrowError(FunctionalError);
但我有这个 eslint 错误
92:28 error Missing return type on function @typescript-eslint/explicit-function-return-type
阿晨1998
泛舟湖上清波郎朗
相关分类