• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16import { A, A1, A as A2, B, B1, B as B2, C, C1, C as C2 } from '../ets/test5';
17
18class D {}
19interface T {}
20
21let a1 = new A<number>();
22let a2 = new A1<number>();
23let a3 = new A2<number>();
24let a4 = new A<D>();
25let a5 = new A1<D>();
26let a6 = new A2<D>();
27let a7 = new A<T>();
28let a8 = new A1<T>();
29let a9 = new A2<T>();
30
31let b1 = new B<number, string>();
32let b2 = new B1<number, string>();
33let b3 = new B2<number, string>();
34let b4 = new B<number, D>();
35let b5 = new B1<number, D>();
36let b6 = new B2<number, D>();
37let b7 = new B<D, T>();
38let b8 = new B1<D, T>();
39let b9 = new B2<D, T>();
40
41let c1 = new C<number, string>();
42let c2 = new C1<number, string>();
43let c3 = new C2<number, string>();
44let c4 = new C<number, D>();
45let c5 = new C1<number, D>();
46let cb6 = new C2<number, D>();
47let c7 = new C<D, T>();
48let c8 = new C1<D, T>();
49let c9 = new C2<D, T>();
50
51export let t = 123;
52