this is never re-assigned
This commit is contained in:
parent
45479e2481
commit
5498168d94
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
import { readdirSync, statSync, readFileSync, writeFileSync } from "fs";
|
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) {
|
function readDir(nam:string) {
|
||||||
const files = readdirSync(nam);
|
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"));
|
//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"));
|
||||||
|
|
Loading…
Reference in a new issue