Fix wrong prop initialization
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c30944dede
commit
63356b5994
|
@ -28,7 +28,7 @@ export default class Vue2LeafletLocateControl extends Vue {
|
|||
unknown
|
||||
>;
|
||||
|
||||
@Prop({ type: Boolean, default: true }) visible = true;
|
||||
@Prop({ type: Boolean, default: true }) visible!: boolean;
|
||||
|
||||
ready = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue