We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
inputs
1 parent 88b72bf commit c0847d6Copy full SHA for c0847d6
main.ts
@@ -9,7 +9,7 @@ function codeFromUrl(url: URL): string | null {
9
async function main(): Promise<void> {
10
// Expected invocation is `node path/to/index.js $url`. If $url is "-" or
11
// there are no arguments, read from STDIN.
12
- let inputs
+ let inputs: AsyncIterable<string>
13
if (
14
process.argv.length < 3 ||
15
(process.argv.length === 3 && process.argv[2] === "-")
0 commit comments