Remove type validation in AddressAutoComplete mixin

Because it can be null

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-11-22 10:03:34 +01:00
parent 49ad1637f9
commit 83783ad34b
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -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<IAddress> })
@Prop({ required: true })
value!: IAddress;
gettingLocationError: string | null = null;