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';

Activity

vladima

vladima commented on Jan 3, 2016

@vladima
Contributor

looks like a duplicate of #2956 per this comment.

locked and limited conversation to collaborators on Jun 19, 2018
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

        Participants

        @vladima@a8775

        Issue actions

          import syntax to support import of all exported types · Issue #6324 · microsoft/TypeScript