This repository has been archived by the owner on Dec 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 179
Exporting types results in incomplete d.ts output #566
Comments
Hmm, after looking at this it seems that exporting types is legal code, but doesn't produce any output in the d.ts // When you have optional parts
export type OptionalDimensions = {
width?: number,
height?: number
} I also found the same issue when not exporting an npm type, but rather a local one. |
I'm running into the same issue with awesome-typescript-loader 5.0.0. type ITest = { themeId: string }; export { ITest}; results in no output with awesome-typescript-loader. Does emit a proper d.ts using ts-loader. Thanks! |
I'd prefer not to use ts-loader as it behaves differently, eg if I replace my project with it I get this error which I don't with Awesome
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In this library file I am Reexporting a
type
from vanilla-typescript so that the end user of solar-popup doesn't need to install vanilla-typescript.However in the build folder I am missing several definiton files.
![screen shot 2018-04-04 at 12 57 29](https://user-images.githubusercontent.com/216566/38307035-4c892e70-380a-11e8-90d9-3e81608e9b3f.png)
Any ideas?
The text was updated successfully, but these errors were encountered: