Skip to content

[request] allow export type * from #37238

Closed
@bluelovers

Description

@bluelovers

Search Terms

export type

Suggestion

TS1383: Only named exports may use 'export type'.

allow export type * from

Use Cases

https://github.com/bluelovers/ws-ts-type/blob/master/packages/ts-type/index.ts

export type * from './lib';
export type * from 'typedarray-dts';

Examples

Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

Metadata

Metadata

Assignees

Labels

Fix AvailableA PR has been opened for this issueNeeds InvestigationThis issue needs a team member to investigate its status.SuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions