⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Intl.CollatorOptions['collation'] is missing value 'default'Β #62970

@quisido

Description

@quisido

πŸ”Ž Search Terms

  • Intl.CollatorOptions
  • collation

πŸ•— Version & Regression Information

  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about collation.

⏯ Playground Link

https://www.typescriptlang.org/play/?#code/HYUw7gBAksAuA2A6Awge3vAhrVAnAFANoC6ANBAN4BQEEAxulrAJarABcEA5ACYgBmmAK7xYXUlQC+ASgDcVIA

πŸ’» Code

new Intl.Collator([], {
  collation: 'default',
});

πŸ™ Actual behavior

Type '"default"' is not assignable to type ...

πŸ™‚ Expected behavior

'default' should be a valid value for collation.

Additional information about the issue

MDN documentation

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