1/* 2 * Copyright (c) 2022-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 { CPreview } from "./.preview/preview_import"; 17import { CBuild } from "./build/build_import"; 18import { CNode } from "./node_modules/node_import"; 19import { COh } from "./oh_modules/oh_import"; 20import { CGood } from "./ignore_files/good"; 21import { CHvigor } from "./ignore_files/hvigorfile"; 22import { Cjs2 } from "./node_modules/2"; 23import { Cjs1 } from "./node_modules/node_lib/1"; 24 25CPreview.prototype; 26CBuild.prototype; 27CNode.prototype; 28COh.prototype; 29CGood.prototype; 30CHvigor.prototype; 31Cjs1.prototype; 32Cjs2.prototype; 33 34class B { 35 f: number = 1; 36} 37let CJS1: Cjs1 = new Cjs1(); 38let cjs1 = new Cjs1(); 39let f1: B = cjs1; 40let CJS2: Cjs2 = new Cjs2(); 41let cjs2 = new Cjs2(); 42let f2: B = cjs2; 43