Skip to content

Intl.DisplayNames.prototype.of should return string | undefined聽#47143

Closed

Description

Bug Report

馃攷 Search Terms

  • intl
  • displaynames

馃晽 Version & Regression Information

The type information didn't exist before 4.5
PR by Orta Therox (@orta) #45647

馃檨 Actual behavior

Intl.DisplayNames.prototype.of returns string in lib.es2020.intl.d.ts

馃檪 Expected behavior

It should return string | undefined
See spec https://tc39.es/ecma402/#sec-Intl.DisplayNames.prototype.of

Activity

  1. orta commented on Dec 15, 2021

    @orta
    Contributor

    Yep, agree, open to PRs for this 馃憤馃徎

  2. added
    Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript
    Effort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".
    and removed
    Needs InvestigationThis issue needs a team member to investigate its status.
    on Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptEffort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".Fix AvailableA PR has been opened for this issue

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions