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 are not exported

See original GitHub issue

I installed the current version of contentful-management (^5.10.0). And I cannot find the typings my IDE always suggest me to install @types/contentful-management

Could not find a declaration file for module 'contentful-management'. '/Users/jimdo/src/github/dev/contentful-upload-image/node_modules/contentful-management/dist/contentful-management.node.js' implicitly has an 'any' type.
  Try `npm install @types/contentful-management` if it exists or add a new declaration (.d.ts) file containing `declare module 'contentful-management';`ts(7016)

Do u have any idea or hint for me?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Khaledgarbayacommented, Aug 29, 2019

hmm somehow they didn’t end up in the npm package, let re-release again

0reactions
Khaledgarbayacommented, Sep 2, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Typescript errors when importing a "not exported" type, even ...
Typescript 3.8 introduces new syntax for type-only imports and exports: import type T from './module'; import type { A, B } from '....
Read more >
TSConfig Option: allowSyntheticDefaultImports - TypeScript
When the module does not explicitly specify a default export. For example, without allowSyntheticDefaultImports as true: ts. // @filename: utilFunctions.js.
Read more >
Module has no exported member error in TypeScript
The error "Module has no exported member" occurs when we try to import a member that doesn't exist in the specified module. To...
Read more >
'Module not exported' shown when referencing UMD global ...
'Module not exported' shown when referencing UMD global module defined in typings · npm i @types/leaflet · add the following to js file...
Read more >
How to import and export a module in TypeScript - Educative.io
There is a simple design/compile time tool that you can use to stop your TypeScript code from accessing things it should not. With...
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