##// END OF EJS Templates
fixed object activation when a single argument passed to the constructor.
fixed object activation when a single argument passed to the constructor.

File last commit:

r46:747292a4f3ac di-typescript
r46:747292a4f3ac di-typescript
Show More
Bar.ts
12 lines | 182 B | video/mp2t | TypeScriptLexer
cin
fixed object activation when a single argument passed to the constructor.
r46 import { Foo } from "./Foo";
cin
tests
r41 export class Bar {
name = "bar";
cin
fixed object activation when a single argument passed to the constructor.
r46
foo: Foo;
constructor(_opts) {
if (_opts && _opts.foo)
this.foo = _opts.foo;
}
cin
tests
r41 }