Answers for "new expression typescript"

0

new expression typescript

const TestConstructorFunction = function (this: any, a: any, b: any) {
    this.a = a;
    this.b = b;
};

let test1 = new (TestConstructorFunction as any)(1, 2);
Posted by: Guest on May-18-2020

Code answers related to "new expression typescript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language