Merged in chore/update-eslint-configs (pull request #2812)
chore: Extend eslint configs from @typescript-eslint/recommended * Change to typescript recommended in scandic-web * Remove comment * Change to recommended ts config in partner-sas * Change to recommended ts lint config in booking-flow Approved-by: Linus Flood
This commit is contained in:
@@ -84,7 +84,7 @@ export function DesktopSummary({
|
||||
isUserLoggedIn || selectedRates.rates.some(isBookingCodeRate)
|
||||
|
||||
const mainRoomRate = selectedRates.rates.at(0)
|
||||
let mainRoomCurrency = getRoomCurrency(mainRoomRate)
|
||||
const mainRoomCurrency = getRoomCurrency(mainRoomRate)
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -159,6 +159,7 @@ function CorporateChequeCode({
|
||||
handleSelectRate,
|
||||
isSelected,
|
||||
}: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
codeProduct: Extract<CodeProduct, { corporateCheque: any }>
|
||||
roomIndex: number
|
||||
roomTypeCode: string
|
||||
@@ -329,6 +330,7 @@ function VoucherCode({
|
||||
handleSelectRate,
|
||||
isSelected,
|
||||
}: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
codeProduct: Extract<CodeProduct, { voucher: any }>
|
||||
roomIndex: number
|
||||
roomTypeCode: string
|
||||
|
||||
Reference in New Issue
Block a user