Skip to content

Definitions for Intl.RelativeTimeFormat missing #38034

Closed

Description

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat/formatToParts says:

const rtf1 = new Intl.RelativeTimeFormat('en', { numeric: 'auto' });

is valid, but TypeScript 3.8.3 does not know out-of-the box about RelativeTimeFormat.

Activity

  1. hediet commented on Apr 18, 2020

    @hediet
    Member

    See issue #29129 and the (closed?) pull request #36084.

  2. dilyanpalauzov commented on Apr 18, 2020

    @dilyanpalauzov
    Author

    TypeScript does not know about Intl.RelativeTimeFormat.

    #36084 was discarded, as there was no activity on it and #29129 was about an ECMAScript-Draft at the time.

  3. typescript-bot commented on Apr 24, 2020

    @typescript-bot
    Contributor

    This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

  4. locked as resolved and limited conversation to collaborators on Oct 21, 2025
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

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions