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 16/* eslint-disable */ 17 18export enum FaultID { 19 AnyType, 20 SymbolType, 21 ObjectLiteralNoContextType, 22 ArrayLiteralNoContextType, 23 ComputedPropertyName, 24 LiteralAsPropertyName, 25 TypeQuery, 26 IsOperator, 27 DestructuringParameter, 28 YieldExpression, 29 InterfaceMerging, 30 EnumMerging, 31 InterfaceExtendsClass, 32 IndexMember, 33 WithStatement, 34 ThrowStatement, 35 IndexedAccessType, 36 UnknownType, 37 ForInStatement, 38 InOperator, 39 ImportFromPath, 40 FunctionExpression, 41 IntersectionType, 42 ObjectTypeLiteral, 43 CommaOperator, 44 LimitedReturnTypeInference, 45 LambdaWithTypeParameters, 46 ClassExpression, 47 DestructuringAssignment, 48 DestructuringDeclaration, 49 VarDeclaration, 50 CatchWithUnsupportedType, 51 DeleteOperator, 52 DeclWithDuplicateName, 53 UnaryArithmNotNumber, 54 ConstructorType, 55 ConstructorIface, 56 ConstructorFuncs, 57 CallSignature, 58 TypeAssertion, 59 PrivateIdentifier, 60 LocalFunction, 61 ConditionalType, 62 MappedType, 63 NamespaceAsObject, 64 ClassAsObject, 65 NonDeclarationInNamespace, 66 GeneratorFunction, 67 FunctionContainsThis, 68 PropertyAccessByIndex, 69 JsxElement, 70 EnumMemberNonConstInit, 71 ImplementsClass, 72 MethodReassignment, 73 MultipleStaticBlocks, 74 ThisType, 75 IntefaceExtendDifProps, 76 StructuralIdentity, 77 DefaultImport, 78 ExportAssignment, 79 ImportAssignment, 80 GenericCallNoTypeArgs, 81 ParameterProperties, 82 InstanceofUnsupported, 83 ShorthandAmbientModuleDecl, 84 WildcardsInModuleName, 85 UMDModuleDefinition, 86 NewTarget, 87 DefiniteAssignment, 88 Prototype, 89 GlobalThis, 90 UtilityType, 91 PropertyDeclOnFunction, 92 FunctionApplyCall, 93 FunctionBind, 94 ConstAssertion, 95 ImportAssertion, 96 SpreadOperator, 97 LimitedStdLibApi, 98 ErrorSuppression, 99 StrictDiagnostic, 100 ImportAfterStatement, 101 EsObjectType, 102 // this should always be last enum 103 LAST_ID 104} 105