Skip to content
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

Generate newProxy #33

Open
mhfrantz opened this issue Nov 5, 2015 · 0 comments
Open

Generate newProxy #33

mhfrantz opened this issue Nov 5, 2015 · 0 comments

Comments

@mhfrantz
Copy link
Member

mhfrantz commented Nov 5, 2015

The overloaded newProxy function would overload on each imported class, and accept unqualified and fully qualified name strings.

import java = require('tsJavaModule');
var proxy: java.Java.Runnable = java.Java.newProxy('Runnable', {
  run: function () { return 'the answer'; }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant