• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * the ut for method in class, method is promise
3 */
4export class Test {
5  /**
6   * the ut for method in sourcefile, method has error codes
7   *
8   * @throws { BusinessError } 401 - The parameter check failed.
9   */
10  test1(param1: string): number;
11
12  /**
13   * the ut for method in sourcefile, method has error codes
14   *
15   * @throws { BusinessError } 401 - The parameter check failed.
16   * @throws { BusinessError } 402 - The parameter check failed.
17   */
18  test2(param1: string): number;
19
20  /**
21   * the ut for method in sourcefile, method has error codes but forget to write
22   *
23   * @throws { BusinessError } The parameter check failed.
24   */
25  test1(param1: string): number;
26}