Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Definitions for Intl.RelativeTimeFormat missing #38034

Copy link
Copy link
@dilyanpalauzov

Description

@dilyanpalauzov
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already createdAn existing issue was already created

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.