Skip to content

Commit

Permalink
Add file header
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Jan 31, 2024
1 parent 380497d commit 07d8512
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/generate-coord-accessors.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ for (let space in spaces) {
}
}

let template = "declare class CoordAccessors {";
let template = `// DO NOT EDIT. This file is generated with \`npm run build:coord-accessors\`.
declare class CoordAccessors {`;
for (const coord of Array.from(coords).sort()) {
template += `\n\t${coord}: number;`;
}
Expand Down
1 change: 1 addition & 0 deletions types/src/coord-accessors.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// DO NOT EDIT. This file is generated with `npm run build:coord-accessors`.
declare class CoordAccessors {
a: number;
az: number;
Expand Down

0 comments on commit 07d8512

Please sign in to comment.