Skip to content

TypeScript issue when using parameters #188

Open
@daankennes

Description

@daankennes

Hi,

Thank you for your work on this library.

I run into a TypeScript problem when using parameters. For example this line

<p>{$t('common.welcomeTo_0', { applicationName: 'My application' })}</p>

will produce this TypeScript error: Object literal may only specify known properties, and 'applicationName' does not exist in type 'PayloadDefault'.

Not sure if this is a bug or if I'm overlooking something.

Daan

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