Skip to content

Commit

Permalink
bypass astro tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Mar 21, 2024
1 parent 76f05a3 commit be0682f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/image-generator/cli.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Command } from "commander";
import fs from "fs";
import { buildRelative } from "./index";

const program = new Command();
Expand Down
2 changes: 1 addition & 1 deletion packages/image-generator/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface Options extends _Options {
speakers: Speaker[]
}

async function fetchImage(url): Promise<Buffer> {
async function fetchImage(url: string): Promise<Buffer> {
const response = await fetch(url);
const buffer = await response.arrayBuffer();
return Buffer.from(buffer);
Expand Down
7 changes: 7 additions & 0 deletions packages/image-generator/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/image-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"sharp": "^0.33.2"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.11.30"
}
}
1 change: 1 addition & 0 deletions packages/image-generator/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}

0 comments on commit be0682f

Please sign in to comment.