Skip to content

[Bug] Restore exported types defined in shared_types #593

@avifoxi

Description

@avifoxi

What I wanted to do

Continue to use exported types defined in https://github.com/optimizely/javascript-sdk/blob/master/packages/optimizely-sdk/lib/shared_types.ts

These used to be exported from the package. We are maintaining libraries that depend on these types.

Please export them from index.d.ts

What I expected to happen

UserProfileService type should be useable as a named export.
OptimizelyConfig type should be useable as a named export.

What actually happened

These types may be able to be imported - but we have to do it much more indirectly. Please continue to just export them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions