Skip to content

internal modifier suggestion #2774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SergioMorchon opened this issue Apr 15, 2015 · 2 comments
Closed

internal modifier suggestion #2774

SergioMorchon opened this issue Apr 15, 2015 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@SergioMorchon
Copy link

As a typescript developer, I am building libraries for my client enterprise at work. The libraries has a lot of interfaces, types, clases, enums, variables... that are not intended to be public on the final comiled file, but I'm forced to export them to reuse at the other inner modules (before coupling them into one single file).

I would like to be able to generate de .d.ts file of my .js without the internal members. I know they will be really accesible at JavaScript, but not at the definitions file.

This is really significant because others could use those definicion files to use the libraries, or to generate automatically public documentation (ie. http://typedoc.io/).

@SergioMorchon SergioMorchon changed the title internal modifier internal modifier suggestion Apr 15, 2015
@DanielRosenwasser
Copy link
Member

This is a duplicate of #892, but it's definitely something we'd find useful as well.

@DanielRosenwasser DanielRosenwasser added the Duplicate An existing issue was already created label Apr 15, 2015
@SergioMorchon
Copy link
Author

Thanks and sorry for the duplicated inconvenience...

@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants