Skip to content

Export public types to fix TS4023 for consumers#44

Merged
lo1tuma merged 1 commit intomainfrom
export-types
Feb 6, 2026
Merged

Export public types to fix TS4023 for consumers#44
lo1tuma merged 1 commit intomainfrom
export-types

Conversation

@lo1tuma
Copy link
Member

@lo1tuma lo1tuma commented Feb 2, 2026

Types used in the public API were not exported, causing TypeScript error TS4023 ("Exported variable has or is using name from external module but cannot be named") for library consumers when they tried to export variables holding factory instances.

Exported types:

  • ObjectoryFactory, GeneratorFunction, Overrides, OverridesHelper
  • ArrayFactoryValue, ArrayFactoryOptions, ArrayFactoryReturnValue
  • ShapeToGeneratorReturnValue, ShapeToGeneratorReturnValueHelper
  • ExtensionShape, RemoveProperty
  • AllowedObjectShapeValues, AllowedGeneratorReturnShape
  • BaseTypes, AnyFunction

@lo1tuma lo1tuma requested a review from screendriver February 2, 2026 19:02
Types used in the public API were not exported, causing TypeScript
error TS4023 ("Exported variable has or is using name from external
module but cannot be named") for library consumers when they tried
to export variables holding factory instances.

Exported types:
- ObjectoryFactory, GeneratorFunction, Overrides, OverridesHelper
- ArrayFactoryValue, ArrayFactoryOptions, ArrayFactoryReturnValue
- ShapeToGeneratorReturnValue, ShapeToGeneratorReturnValueHelper
- ExtensionShape, RemoveProperty
- AllowedObjectShapeValues, AllowedGeneratorReturnShape
- BaseTypes, AnyFunction

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@lo1tuma lo1tuma merged commit 15fa031 into main Feb 6, 2026
1 check passed
@lo1tuma lo1tuma deleted the export-types branch February 6, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants