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