diff options
Diffstat (limited to 'std/examples/gist.ts')
-rwxr-xr-x | std/examples/gist.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/gist.ts b/std/examples/gist.ts index ead97c7e2..8fc97e0f8 100755 --- a/std/examples/gist.ts +++ b/std/examples/gist.ts @@ -24,7 +24,7 @@ if (parsedArgs._.length === 0) { Deno.exit(1); } -const files = {}; +const files: Record<string, { content: string }> = {}; for (const filename of parsedArgs._) { const base = pathBase(filename); const content = await Deno.readFile(filename); |