1/** 2 * the ut for method in namespace, which has params and return value, one of params is optional. 3 */ 4export namespace test { 5 function testFunction(param1: string, param2?: string): number; 6}