1/* 2* Copyright (C) 2024 HiHope Open Source Organization. 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 16export function condition(): boolean { 17 return true 18} 19 20export function cd(): boolean { 21 return false 22} 23 24export class Ob { 25 private name: string; 26 private age: number; 27 28 constructor(name: string, age: number) { 29 this.name = name; 30 this.age = age; 31 } 32} 33 34export class St { 35 private value: string; 36 37 constructor(value: string) { 38 this.value = value; 39 } 40} 41 42export class Arr<T> { 43 private array: T[] = []; 44} 45 46export class Big { 47 private num: bigint; 48 49 constructor(num: bigint) { 50 this.num = num; 51 } 52} 53 54export class Box<T> { 55 private value: T; 56 57 constructor(value: T) { 58 this.value = value; 59 } 60} 61 62export interface Inter { 63 value: string; 64} 65 66export enum Colour { 67 RED, 68 GREEN, 69 BLUE 70} 71