Skip to content

Missing unknown in DateTimeFormatType #50401

@longlho

Description

@longlho

lib Update Request

lib.es2017.intl.d.ts

Configuration Check

My compilation target is ES2015 and my lib is es2018.

Missing / Incorrect Definition

Missing unknown in DateTimeFormatType

Sample Code

Documentation Link

In https://tc39.es/ecma402/#sec-formatdatetimepattern step 15.j, unknown is used as the fallback value. This is meant to protect against future spec change that might introduce new parts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions