Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Add support for private constructors #250

Open
yjbanov opened this issue Jul 22, 2015 · 0 comments
Open

Add support for private constructors #250

yjbanov opened this issue Jul 22, 2015 · 0 comments

Comments

@yjbanov
Copy link
Contributor

yjbanov commented Jul 22, 2015

As part of ng2 public API cleanup we intent many of the classes and/or their constructors private. To achieve this in Dart you make a private named constructor, e.g. Foo._private. TS doesn't support private constructors but we could probably get around that by not publishing them in the *.d.ts files, which should at least obfuscate them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant