From 705483c57ee75954de0b6a1fd35f1ba44e68b5fa Mon Sep 17 00:00:00 2001 From: Yavor Ivanov Date: Tue, 19 Mar 2024 14:29:29 +0200 Subject: [PATCH] Update src/detectors/typeChecker/FileLinter.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matthias Oßwald --- src/detectors/typeChecker/FileLinter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detectors/typeChecker/FileLinter.ts b/src/detectors/typeChecker/FileLinter.ts index 483cb0350..80fee0ad4 100644 --- a/src/detectors/typeChecker/FileLinter.ts +++ b/src/detectors/typeChecker/FileLinter.ts @@ -271,7 +271,7 @@ export default class FileLinter { let libVersion; - if (fnArg === null) { // The method is init, but nor argument has been found + if (fnArg === null) { // The method is init, but no argument has been found libVersion = node; } else if (fnArg) { const apiKeyProp = (fnArg as ts.ObjectLiteralExpression)