Skip to content

[Bug] Object literal may only specify known properties, and 'messages' does not exist in type 'ClackSettings'. #535

@mrleblanc101

Description

@mrleblanc101

Environment

  • OS: macOS 26.4.1
  • Node Version: v20.19.2
  • Package: @clack/prompts
  • Package Version: 1.3.0

Describe the bug
A clear and concise description of what the bug is.

From the example:

updateSettings({
    w: 'up',
    a: 'left',
    s: 'down',
    d: 'right',
  },
  withGuide: false,
  messages: {
    cancel: 'Operación cancelada',
    error: 'Se produjo un error',
  },
});

But I get:

Object literal may only specify known properties, and 'messages' does not exist in type 'ClackSettings'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions