Skip to content

Commit

Permalink
exact make_scanner return type
Browse files Browse the repository at this point in the history
  • Loading branch information
imcotton committed Jul 7, 2024
1 parent 2779065 commit 25049b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/scanner/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { transform as npm } from './npm.ts';
export { npm };

import type { Fn } from '../common.ts';




Expand All @@ -9,7 +11,7 @@ export function make_scanner (

format: 'npm',

): typeof npm {
): Fn<AsyncIterable<string>, AsyncIterable<string>> {

if (format === 'npm') {
return npm;
Expand Down

0 comments on commit 25049b2

Please sign in to comment.