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.

Position Class missing types

See original GitHub issue

In the constructor for Position I get the following error when using Driver in a Typescript project

613:21 Binding element 'left' implicitly has an 'any' type. 613:21 Binding element 'top' implicitly has an 'any' type. 613:21 Binding element 'bottom' implicitly has an 'any' type. 613:21 Binding element 'right' implicitly has an 'any' type.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kamranahmedsecommented, Feb 7, 2019

This has been fixed in the latest release (0.9.0). Thanks guys!

1reaction
Attrash-Islamcommented, Feb 7, 2019

Aaaah, I see your point. I think that the typings were written in not strict mode but was referenced in strict tsconfig.json which shows the errors. Adding types to those things should be a PR for fixes which what you already proposed 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typescript error: Property 'classes' is missing in type
I'm using react-jss for component styles, and wondering if there's a clash happening with the styles object vs passing the classes prop itself....
Read more >
Import missing namespaces | JetBrains Rider Documentation
When you use types whose namespaces have not been imported in the file, JetBrains Rider helps you locate these types and add the...
Read more >
Types of Errors in Java with Examples - GeeksforGeeks
2. Compile Time Error: Compile Time Errors are those errors which prevent the code from running because of an incorrect syntax such as...
Read more >
SyntaxError: missing ; before statement - JavaScript | MDN
The JavaScript exception "missing ; before statement" occurs when there is a semicolon (;) missing somewhere and can't be added by automatic semicolon ......
Read more >
Incorrect missing type annotation error on array map #8436
This appears to be throwing error for the generic type paramater U inside the map function. Naturally I tried providing static typing to...
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