From 1c2a5d5be0576f3162167c46787ee9f0aded8fb8 Mon Sep 17 00:00:00 2001 From: Mark Lundin Date: Fri, 4 Oct 2024 13:14:21 +0100 Subject: [PATCH] lint --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 430861c..1d2cf2a 100644 --- a/src/index.js +++ b/src/index.js @@ -51,7 +51,7 @@ export class JSDocParser { // This is a node only option. If no lib path is passed, attempt to resolve ES types from node_modules. fsMap = await createDefaultMapFromNodeModules(COMPILER_OPTIONS, ts); - } else if(libPath.endsWith('.d.ts')) { + } else if (libPath.endsWith('.d.ts')) { // If the libPath is a '.d.ts' file then load it and add it const types = await fetch(libPath).then(r => r.text());