Skip to content

Commit 7a06e10

Browse files
committed
fix lint
1 parent a436cf3 commit 7a06e10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/charts/generateChart.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export async function generateChart(path: string, dataPoints: DataPoint[]): Prom
2020
const view = new vega.View(vega.parse(chartDefinition), { renderer: "none" }).initialize();
2121

2222
const canvas = await view.toCanvas();
23-
console.log("Writing PNG to file...");
2423

2524
fs.writeFileSync(path, canvas.toBuffer());
26-
}
25+
}

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"lib": ["es2015", "esnext.asynciterable"],
1717
"sourceMap": true,
1818
"declaration": true,
19-
"outDir": "lib"
19+
"outDir": "lib",
20+
"skipLibCheck": true
2021
},
2122
"include": ["src/**/*.ts"],
2223
"exclude": ["node_modules"]

0 commit comments

Comments
 (0)