Remove type validation in AddressAutoComplete mixin
Because it can be null Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
49ad1637f9
commit
83783ad34b
@ -6,7 +6,6 @@ import { CONFIG } from "../graphql/config";
|
|||||||
import { IConfig } from "../types/config.model";
|
import { IConfig } from "../types/config.model";
|
||||||
import debounce from "lodash/debounce";
|
import debounce from "lodash/debounce";
|
||||||
import { DebouncedFunc } from "lodash";
|
import { DebouncedFunc } from "lodash";
|
||||||
import { PropType } from "vue";
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
components: {
|
components: {
|
||||||
@ -18,7 +17,7 @@ import { PropType } from "vue";
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
export default class AddressAutoCompleteMixin extends Vue {
|
export default class AddressAutoCompleteMixin extends Vue {
|
||||||
@Prop({ required: true, type: Object as PropType<IAddress> })
|
@Prop({ required: true })
|
||||||
value!: IAddress;
|
value!: IAddress;
|
||||||
gettingLocationError: string | null = null;
|
gettingLocationError: string | null = null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user