我的項目中有這個笑話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
Jest / eslint中的函數缺少返回類型
慕婉清6462132
2022-10-13 19:42:32