Versions
- prismic-ts-codegen:
- node:
Reproduction
We are using this configuration to gradually adopt the generated types. We have the json localy and we are not using the slice machine.
Steps to reproduce
- Generate the types using
clientIntegration: {
includeCreateClientInterface: false,
includeContentNamespace: false,
}
- Build the project
What is expected?
Build Success
What is actually happening?
Build failed with
PickContentRelationshipFieldData<
44 | Extract<TCustomType[number], { id: ID }>,
45 | Extract<prismic.Content.AllDocumentTypes, { type: ID }>["data"],
| ^
46 | TLang
47 | >
Extract<prismic.Content.AllDocumentTypes should be Extract<AllDocumentTypes since we don't have namespace
Versions
Reproduction
We are using this configuration to gradually adopt the generated types. We have the json localy and we are not using the slice machine.
Steps to reproduce
What is expected?
Build Success
What is actually happening?
Build failed with
PickContentRelationshipFieldData<
44 | Extract<TCustomType[number], { id: ID }>,
Extract<prismic.Content.AllDocumentTypes should be Extract<AllDocumentTypes since we don't have namespace