1import { DependencyClass, DependencyFunctionReduce, DependencyInterface } from './depency-file1'; 2import { h, g, i } from './no-depency-file1'; 3import assert from 'assert'; 4let t = new DependencyClass(); 5let u = t.depencyProp1; 6let v = t.depencyProp2; 7let a1 = t.depencyMethod1(); 8let b1 = DependencyFunctionReduce(2, 1); 9assert(b1 === 1, 'success'); 10type c1 = DependencyInterface; 11let d1: c1 = { depencyProp3: "hello", depencyProp4: 2 }; 12const e1 = d1.depencyProp3; 13const f1 = d1.depencyProp4; 14let g1 = new h(); 15let h1 = g1.j; 16let i1 = g1.k; 17let j1 = g1.l(); 18let l1 = g(); 19type m1 = i; 20let n1: m1 = { m: "hello", o: 2 }; 21const o1 = n1.m; 22const q1 = n1.o; 23export class s1 { 24 w1: string = 'us1'; 25 z1: number = 1999; 26} 27class t1 { 28 a2: string = 'us2'; 29 b2: number = 2000; 30} 31export function p(y1: string, z1: string): string { 32 return y1.concat(z1); 33} 34const u1 = p('123', '456'); 35assert(u1 === '123456', 'success'); 36function q(w1: string, x1: string): string { 37 return w1 + x1; 38} 39q('123', '456'); 40const v1 = q('123', '456'); 41assert(v1 === '123456', 'success'); 42