title: vue3 class component access props
body: <p>i use vue3 with class-component in typescript my class looks like:</p>
  <pre class="lang-js prettyprint-override"><code>import {Options, Vue} from &quot;vue-class-component&quot;;
  
  @Options({
    props: {
      result: Object
    }
  })
  
  
  export default class imageResult extends Vue {
    currentImage = 0;
  
    getSlides(){
      console.log('result',this.$props.result); // not working
      console.log('result',this.result); // not working too
    }
  
  </code></pre>
  <p>My question is, how can i access and use the property within my class?</p>
  <p>both <em>this.result</em> and <em>this.$props.result</em> throws me an error.</p>
  <p>can someone help me?
  Thanks in advance</p>