From 83783ad34b907a5e4c41a405304fe59999df5cc7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 22 Nov 2021 10:03:34 +0100 Subject: [PATCH] Remove type validation in AddressAutoComplete mixin Because it can be null Signed-off-by: Thomas Citharel --- js/src/mixins/AddressAutoCompleteMixin.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/src/mixins/AddressAutoCompleteMixin.ts b/js/src/mixins/AddressAutoCompleteMixin.ts index 7616a3de0..b5074b1af 100644 --- a/js/src/mixins/AddressAutoCompleteMixin.ts +++ b/js/src/mixins/AddressAutoCompleteMixin.ts @@ -6,7 +6,6 @@ import { CONFIG } from "../graphql/config"; import { IConfig } from "../types/config.model"; import debounce from "lodash/debounce"; import { DebouncedFunc } from "lodash"; -import { PropType } from "vue"; @Component({ components: { @@ -18,7 +17,7 @@ import { PropType } from "vue"; }, }) export default class AddressAutoCompleteMixin extends Vue { - @Prop({ required: true, type: Object as PropType }) + @Prop({ required: true }) value!: IAddress; gettingLocationError: string | null = null;