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.

Typings issue in wrap.d.ts

See original GitHub issue

Updating our dependency on contentful-management from 7.11.0 to 7.12.0 broke compilation for us. TypeScript outputs multiple errors:

grafik

Updating to 7.13.0 fails with the same errors.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
andipaetzoldcommented, Mar 26, 2021

Version 7.13 was a pretty big internal refactor and it seems like the new release is not error-free yet.

7.12.0 shows the same issue for us

The refactoring was done in 7.12 and 7.13. 7.12 is only a pre-release.

I’ll investigate the issue and will come back to you as soon as I have an update/fix.

1reaction
jugglingthebitscommented, Mar 30, 2021

@andipaetzold version 7.13.1 works nicely now. Thank you for resolving this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't use Redux typescript typings in a d.ts file because no ...
I suspect it's because the redux/index.d.ts file doesn't declare a namespace at all. When I edit redux/index.d.ts file and wrap everything ...
Read more >
Can't use custom Typescript .d.ts file - Stack Overflow
When using commonjs, an Ambient External Module definition is required.
Read more >
Documentation - Modules - TypeScript
Optionally, a module can wrap one or more modules and combine all their exports using export * from "module" syntax. AllValidators.ts. ts. export...
Read more >
Compiling and bundling TypeScript libraries with Webpack
TypeScript comes with the tsc (TS compiler) that takes care of that: it compiles your code to ES5 and creates the *.d.ts files...
Read more >
TypeScript errors and how to fix them
To fix the problem you have to update the reference path to point to another ... error TS1046: Top-level declarations in .d.ts files...
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