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.

Problem with typescript definition.

See original GitHub issue

Hello everyone. I have a problem, when i install a library to my angular app. After run a command ng serve, i receive following error:

dropbox_types.d.ts (32,63): A parameter initializer is only allowed in a function or constructor implementation.

I think, may be it’s problem related with typescript version. I’m using typescript 2.4.2. If you don’t support this version, write please minimal supported version. Thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

10reactions
greg-dbcommented, Jul 20, 2018

This fix should be released now as of v4.0.9. Please update and let us know if you’re still seeing any issues.

4reactions
pran1990commented, May 22, 2018

Just to add some more information, the last release I made mistakenly overwrote some ts files (from 4.0.4). Temporary workaround is v4.0.4 while we work on the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - Understanding Errors - TypeScript
Whenever TypeScript finds an error, it tries to explain what went wrong in as much detail as possible. Because its type system is...
Read more >
TypeScript errors and how to fix them
A list of common TypeScript errors and how to fix them.
Read more >
The Trouble with TypeScript - DEV Community ‍ ‍
TypeScript is Noisy. As in it has a higher noise to signal ratio. Less of the code you are looking at is functional....
Read more >
Error when building project with TypeScript definition output
I am unable to build a TypeScript project, targeting consumption from both JS and TS projects. My impression is that the error seems...
Read more >
TypeScript Done Wrong - OpenReplay Blog
TypeScript Done Wrong · Overusing the any type · Using the Function type instead of specifying the signature · Open Source Session Replay...
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