1{ 2 "copyright": [ 3 "Copyright (c) 2022-2024 Huawei Device Co., Ltd.", 4 "Licensed under the Apache License, Version 2.0 (the 'License');", 5 "you may not use this file except in compliance with the License.", 6 "You may obtain a copy of the License at", 7 "", 8 "http://www.apache.org/licenses/LICENSE-2.0", 9 "", 10 "Unless required by applicable law or agreed to in writing, software", 11 "distributed under the License is distributed on an 'AS IS' BASIS,", 12 "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", 13 "See the License for the specific language governing permissions and", 14 "limitations under the License." 15 ], 16 "nodes": [ 17 { 18 "line": 29, 19 "column": 21, 20 "endLine": 29, 21 "endColumn": 30, 22 "problem": "StrictDiagnostic", 23 "suggest": "No overload matches this call.\n Overload 1 of 2, '(p1: number, p2: string): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'number'.", 24 "rule": "No overload matches this call.\n Overload 1 of 2, '(p1: number, p2: string): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'number'.", 25 "severity": "ERROR" 26 }, 27 { 28 "line": 30, 29 "column": 21, 30 "endLine": 30, 31 "endColumn": 44, 32 "problem": "StrictDiagnostic", 33 "suggest": "No overload matches this call.\n Overload 1 of 2, '(p11: number, p22: string): undefined', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, '(p11: string, p21: number): undefined', gave the following error.\n Argument of type 'number' is not assignable to parameter of type 'string'.", 34 "rule": "No overload matches this call.\n Overload 1 of 2, '(p11: number, p22: string): undefined', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, '(p11: string, p21: number): undefined', gave the following error.\n Argument of type 'number' is not assignable to parameter of type 'string'.", 35 "severity": "ERROR" 36 }, 37 { 38 "line": 30, 39 "column": 21, 40 "endLine": 30, 41 "endColumn": 44, 42 "problem": "StrictDiagnostic", 43 "suggest": "No overload matches this call.\n Overload 1 of 2, '(p1: number, p2: string): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'number'.", 44 "rule": "No overload matches this call.\n Overload 1 of 2, '(p1: number, p2: string): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'string'.\n Overload 2 of 2, '(p1: number, p2: number): void', gave the following error.\n Argument of type 'undefined' is not assignable to parameter of type 'number'.", 45 "severity": "ERROR" 46 } 47 ] 48}