Skip to content

Generate newProxy #33

@mhfrantz

Description

@mhfrantz

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'; }
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions