Skip to content

LocalizeContext not declared in types declaration despite being exported #193

@adamdharrington

Description

@adamdharrington

Do you want to request a feature or report a bug?

Report a bug & offer fix

What is the current behavior?

Go to: https://codesandbox.io/s/stupefied-bhaskara-fsyir

  • Open App.tsx
  • Notice typescript error stating LocalizeContext is not exported from module

What is the expected behavior?

  • LocalizeContext is exported from the module but not declared in the type definitions. This would involve adding LocalizeContext as an exported member from src/index.d.ts

Which versions of react and react-localize-redux are you using?

  • react@16.12.0
  • react-localize-redux@^3.5.3

Happy to add and open a PR although I wanted to check first given that work is ongoing with v4 and you mentioned you're swamped. If you'll have a chance to release a patch I'll open a PR with the change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions