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// generated from recipes.rst 17export const cookBookRefToFixTitle: Map<number, string> = new Map([ 18 [1, 'Replace property name with identifier'], 19 [3, 'Replace with \'private\' modifier'], 20 [5, 'Replace with let'], 21 [16, 'Combine static block statements into one static block'], 22 [25, 'Replace with field declaration'], 23 [29, 'Replace with dot notation'], 24 [38, 'Add interface definition'], 25 [40, 'Replace with interface'], 26 [46, 'Convert to arrow function'], 27 [53, 'Replace to \'as\' expression'], 28 [71, 'Split expression around \',\' operator'], 29 [79, 'Remove type annotation'], 30 [90, 'Annotate return type'], 31 [113, 'Combine enum declarations'], 32 [180, 'Remove the decorator'] 33]); 34