Skip to content

import syntax to support import of all exported types #6324

Closed
@a8775

Description

@a8775

I have TS code that imports some types from a single file:
import {TypeA,TypeB,TypeC} from './file';

It would be nice to import of all exported types from a file with a star syntax, eg:
import {*} from './file';

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