title: Variable and method checking in Vue
body: <p>One of the canonical examples on Vue website is:</p>
  
  <pre><code>&lt;div id="app-5"&gt;
     &lt;p&gt;{{ message }}&lt;/p&gt;
     &lt;button v-on:click="reverseMessage"&gt;Reverse Message&lt;/button&gt;
  &lt;/div&gt;
  
  var app5 = new Vue({
  el: '#app-5',
  data: {
    message: 'Hello Vue.js!'
  },
  methods: {
  reverseMessage: function () {
    this.message = this.message.split('').reverse().join('')
    }
   }
  })
  </code></pre>
  
  <p>My problem is that if I rename the <em>reverseMessage</em> function, there is no error at compile time to notify me about this. Is there a way to receive an error at compile time when this happens? </p>
  
  <p>Just a side note, although not really relevant: I am using Vue in conjunction with Typescript.</p>
  
  <p>Thank you!</p>