Skip to content

Incompleteness of the variable name and type name is the same definition #1264

Closed
@falsandtru

Description

@falsandtru

Developers can not declare the type of several variables.

Several lib.d.ts interfaces is defined the type of instance. The type of the variable can not be defined in a different variable. That is, the variable type is not defined.

TypeScript does not provide the type definition of several variable.

I understand that it is difficult to realize the required only the name of the types in the specification.
TypeScript adds another definition, or give up static variable type definitions, it is this selection.

How corresponding to this problem?
I want to know the development policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions