this is never re-assigned

This commit is contained in:
Holly Stubbs 2023-07-13 16:33:48 +01:00 committed by GitHub
parent 45479e2481
commit 5498168d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
import { readdirSync, statSync, readFileSync, writeFileSync } from "fs";
let tsFileData:Array<string> = new Array<string>();
const tsFileData:Array<string> = new Array<string>();
function readDir(nam:string) {
const files = readdirSync(nam);
@ -63,4 +63,4 @@ for (const line of splitLines) {
//resultLines.push(line.replace("export class", "class").replace("export interface", "interface").replace("export enum", "enum"));
}
writeFileSync("./combined.ts", resultLines.join("\n"));
writeFileSync("./combined.ts", resultLines.join("\n"));