-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
This is Typescript typing issue.
Expected Behavior
"contentful": "11.3.3",
import { Entry , EntrySkeletonType } from "contentful";
This should give me zero errors.
Actual Behavior
import { Entry , EntrySkeletonType } from "contentful"; // <-- Entry not found in 'contentful'
(or EntrySkeletonType not found in 'contentful')
Possible Solution
I bet it's something related to Contentful version. When I roll back to 10.12.6
the error vanishes
Steps to Reproduce
- Install
10.12.6
- Add in a .ts file the line
import { Entry, EntrySkeletonType } from "contentful";
- Don't see the error
- 'Upgrade to latest (
11.3.3
) - See the error
Context
I'm building the types for my project and this is getting in the way :(
Environment
- Language Version: v18.19.0
- Package Manager Version: pnpm 9.15.0
- Operating System: Darwin 9494.local 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:14 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8103 arm64
- Package Version: 11.3.3
- Which API are you using?: Contentful main package and Management
Metadata
Metadata
Assignees
Labels
No labels