[request] allow `export type * from`
See original GitHub issueSearch 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:135
- Comments:23 (8 by maintainers)
Top Results From Across the Web
Documentation - TypeScript 3.8
import type only imports declarations to be used for type annotations and declarations. It always gets fully erased, so there's no remnant of...
Read more >Export data from an HTTP source app - Celigo Help Center
This article describes the options available for exporting data from an HTTP source application or configuring an export for async...
Read more >New-MailboxExportRequest (ExchangePowerShell)
You can create more than one mailbox export request per mailbox, and each mailbox export ... To save exported PST files to the...
Read more >export - JavaScript - MDN Web Docs
The export declaration is used to export values from a JavaScript module. Exported values can then be imported into other programs with the ......
Read more >Understanding module.exports and exports in Node.js
The CommonJS (CJS) format is used in Node.js and uses require and ... Now let's look at how to create our own module...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m planning to investigate implementing this in the release after 4.9.
In addition to all the usecases that
export type
has, not having it is an inconsistency in the TypeScript language that should be fixed.P.S: the number of upvotes and likes shows the community opinion. I think “Awaiting more feedback” label should be removed. @RyanCavanaugh