Skip to content

Add TypeScript Type Declarations #103

@andrii-bodnar

Description

@andrii-bodnar

🚀 Feature Proposal

Currently, i18nextify lacks official TypeScript type declarations, which makes it harder to use in TypeScript projects. We should add proper type declarations similar to how it's done in the i18next repository.

Motivation

  • No official type declarations are provided
  • Users need to create their own type declarations
  • Type safety is not guaranteed when using the library

Benefits

  1. Better TypeScript integration
  2. Improved developer experience with autocomplete
  3. Catch potential errors at compile time
  4. Better documentation through types

References

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