18c339a94Sopenharmony_ci/* 28c339a94Sopenharmony_ci* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. 38c339a94Sopenharmony_ci* Licensed under the Apache License, Version 2.0 (the "License"); 48c339a94Sopenharmony_ci* you may not use this file except in compliance with the License. 58c339a94Sopenharmony_ci* You may obtain a copy of the License at 68c339a94Sopenharmony_ci* 78c339a94Sopenharmony_ci* http://www.apache.org/licenses/LICENSE-2.0 88c339a94Sopenharmony_ci* 98c339a94Sopenharmony_ci* Unless required by applicable law or agreed to in writing, software 108c339a94Sopenharmony_ci* distributed under the License is distributed on an "AS IS" BASIS, 118c339a94Sopenharmony_ci* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 128c339a94Sopenharmony_ci* See the License for the specific language governing permissions and 138c339a94Sopenharmony_ci* limitations under the License. 148c339a94Sopenharmony_ci*/ 158c339a94Sopenharmony_cideclare namespace napitest { 168c339a94Sopenharmony_ci interface TestClass1 { 178c339a94Sopenharmony_ci any1: any; 188c339a94Sopenharmony_ci /* any���͵Ŀ�ѡ�������ݲ�֧�� 198c339a94Sopenharmony_ci focused?: any; 208c339a94Sopenharmony_ci $def?: any; 218c339a94Sopenharmony_ci arr?: Array<any>; 228c339a94Sopenharmony_ci arr1?: any[]; 238c339a94Sopenharmony_ci extraInfo?: { [key: string]: any }; 248c339a94Sopenharmony_ci test?: (data: any, code: number) => void; 258c339a94Sopenharmony_ci */ 268c339a94Sopenharmony_ci } 278c339a94Sopenharmony_ci 288c339a94Sopenharmony_ci export class Want { 298c339a94Sopenharmony_ci /* any���͵Ŀ�ѡ�������ݲ�֧�� 308c339a94Sopenharmony_ci parameters?: { [key: string]: any }; 318c339a94Sopenharmony_ci */ 328c339a94Sopenharmony_ci static Prop(propName: string): any; 338c339a94Sopenharmony_ci } 348c339a94Sopenharmony_ci 358c339a94Sopenharmony_ci function fun1(v: any, v1: string): number; 368c339a94Sopenharmony_ci function fun2(v: number, v1: TestClass1): number; 378c339a94Sopenharmony_ci function fun4(v: number, v1: Array<any>): number; 388c339a94Sopenharmony_ci function fun5(v: string, v1: any[]): number; 398c339a94Sopenharmony_ci function $fun6(v: boolean, param: Array<any>): number; 408c339a94Sopenharmony_ci function fun8(v1: string[], v?: any): number; 418c339a94Sopenharmony_ci 428c339a94Sopenharmony_ci /*function fun10(v: string, v1?: number | Array<any>): string; 438c339a94Sopenharmony_ci function fun7(v: string, v1: { [key: string]: any }): number; 448c339a94Sopenharmony_ci function fun3(v: string): any; 458c339a94Sopenharmony_ci function fun9(v: string, v1: { name: Array<any>, age: number }): number;*/ 468c339a94Sopenharmony_ci} 478c339a94Sopenharmony_ci 488c339a94Sopenharmony_ciexport default napitest;