fix: uppercase types #1810

Merged
konrad merged 1 commits from dpschen/frontend:feature/fix-uppercase-types into main 2022-04-18 17:32:41 +00:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 4412b4a3ca - Show all commits

View File

@ -1,4 +1,4 @@
export const isAppleDevice = (): Boolean => { export const isAppleDevice = (): boolean => {
return navigator.userAgent.includes('Mac') || [ return navigator.userAgent.includes('Mac') || [
'iPad Simulator', 'iPad Simulator',
'iPhone Simulator', 'iPhone Simulator',

View File

@ -1,4 +1,4 @@
export function isEmail(email: string): Boolean { export function isEmail(email: string): boolean {
const format = /^.+@.+$/ const format = /^.+@.+$/
const match = email.match(format) const match = email.match(format)

View File

@ -81,8 +81,8 @@ const {
} = defineProps<{ } = defineProps<{
dateFrom?: Date | string, dateFrom?: Date | string,
dateTo?: Date | string, dateTo?: Date | string,
showNulls?: Boolean, showNulls?: boolean,
showOverdue?: Boolean, showOverdue?: boolean,
}>() }>()
const showAll = computed(() => typeof dateFrom === 'undefined' || typeof dateTo === 'undefined') const showAll = computed(() => typeof dateFrom === 'undefined' || typeof dateTo === 'undefined')