Skip to content

Commit

Permalink
Add a type to resolve a TypeScript red squiggly (#1161)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
  • Loading branch information
foolip and ddbeck authored Jun 4, 2024
1 parent e1aeb07 commit 734ba7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function warnOnNeedlessOverrides(id, overridden, generated) {

function main() {
// Map from .yml to .dist.yml to filter out duplicates.
const sourceToDist = new Map(
const sourceToDist = new Map<string, string>(
argv.filenames.map((filePath: string) => {
let { dir, name, ext } = path.parse(filePath);
if (ext !== ".yml") {
Expand Down

0 comments on commit 734ba7c

Please # to comment.