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.

how to get type checking from this

See original GitHub issue

image

can i get the type checking () => void from this.test ?

image

and snippet for this.test1 with type string

Info

  • Platform: macOS
  • Vetur version: 0.24.0
  • VS Code version: latest

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
yoyo930021commented, Jun 13, 2020

Duplicate #1509 It’s a upstream problem when computed return this and have props.

0reactions
yoyo930021commented, Jun 13, 2020

The #1509 is talk about this. Typescript version will effect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript TypeOf – How to Check the Type of a Variable or ...
There is a way we can create a generic solution to type checking. Have a look at the method, Object.prototype.toString . This is...
Read more >
Methods for TypeScript runtime type checking - LogRocket Blog
Explore five methods of performing TypeScript type checks at runtime in this post and learn each of their advantages and disadvantages.
Read more >
How To Check Types In Typescript - Danywalls | Angular Web
In Typescript, we have three ways to work with it using: typeof: the keyword helps to check values types, like boolean, string, number,...
Read more >
Understanding Type Checking in JavaScript Using typeof
We aim to help you check types in JS more accurately and gain a better understanding of them. The typeof operator, shadow objects/coercion, ......
Read more >
VS Code - Get type checking in JavaScript easily - Rob O'Leary
If you want to try it out for a file, just add the comment // @ts-check to the top of a file. For...
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