Skip to content

Entity Language Type is incorrect #107

@EdJoPaTo

Description

@EdJoPaTo
  • wikibase-sdk version: 9.0.5
  • Environment: 19.7.0

Currently the Entity Type for labels, description, aliases and so on is Record<WmLanguageCode, …>. WmLanguageCode is only de but not something like de-ch which is also there.

Not sure how to model all the possible variations there or just to use string or type LanguageCode = string to help with code reading?

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