question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Probably not an issue but a caveat or I’m doing something wrong. Inside watch function type of (this) is Vue so I have to do something like this or it won’t compile:

// Watched class property @Watch plus declaration and initiation
    @Watch(function (newValue, oldValue) {
        let self = <AddressComponent>this;
        if (newValue == 0)
            self.isNewAddress = true;
        else
            self.isNewAddress = false;
    })
    selectedBillingAddress: string = undefined;

also data and watched members must be initialized.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
HerringtonDarkholmecommented, Dec 9, 2016

Shipped in 0.6.0!

0reactions
whitetrefoilcommented, Nov 29, 2016

Watching on this issue… Using this.$watch in mounted() until new TS release…

Read more comments on GitHub >

github_iconTop Results From Across the Web

About Watch-O-Scope - Watch Timing System
Watch -O-Scope is a Windows software program for diagnosing, testing, and regulating mechanical watches. It is based on the same concepts as stand-alone ......
Read more >
Lepsi Watch Scope - Hands On Review - Fratello Watches
The Lepsi Watch Scope measures a number of vital signs, like accuracy, beat error, amplitude etc. Below, our hands-on review of the Lepsi ......
Read more >
Lepsi - Watch Scope - WT Shop
The Lepsi Watch Scope is a high-performance accessory that can effectively measure the accuracy of your timepiece. It is especially simple to use...
Read more >
Lepsi Watch Scope (Review) – Watch Analyzer In The ...
The Watch Scope is basically a little round case that holds a microphone, which – through a jack plug cable – connects to...
Read more >
LEPSI - Watch Scope on the App Store - Apple
... see screenshots, and learn more about LEPSI - Watch Scope. Download LEPSI - Watch Scope and enjoy it on your iPhone, iPad,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found