Skip to content

allow use export as namespace in .ts #24719

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
2 of 4 tasks
bluelovers opened this issue Jun 6, 2018 · 2 comments
Closed
2 of 4 tasks

allow use export as namespace in .ts #24719

bluelovers opened this issue Jun 6, 2018 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@bluelovers
Copy link
Contributor

Search Terms

Suggestion

we can use export as namespace in .d.ts

but if .d.ts is create by tsconfig.json compilerOptions declaration=true

then we can't make .d.ts have export as namespace

so i hope can allow use export as namespace in .ts

Use Cases

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. new expression-level syntax)
@mhegazy
Copy link
Contributor

mhegazy commented Jun 6, 2018

Duplicate of #10907

@mhegazy mhegazy marked this as a duplicate of #10907 Jun 6, 2018
@mhegazy mhegazy added the Duplicate An existing issue was already created label Jun 6, 2018
@typescript-bot
Copy link
Collaborator

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants