Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marklundin committed Oct 4, 2024
1 parent 9acbcbf commit 1c2a5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 1c2a5d5

Please sign in to comment.