Skip to content

Better typescript support #60

Open
@jarda-svoboda

Description

@jarda-svoboda

Currently, there is no type checking for translation keys, which can result in typos. Also payload types have to be defined manually and options contain all definitions for all modifiers at once.

sveltekit-i18n should provide a plugin/CLI based way how to deal with that, fetching sources and generating appropriate types automatically. payload and options types should be inferred from translations dynamically according to specified key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    baseIssue related to base functionalityenhancementNew feature or requestparsersIssue related to message parserstypescriptIssue related to type definitions

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions