I hate nodejs.

This commit is contained in:
2022-06-14 23:39:26 +02:00
parent a9a8609cb8
commit 7a69ac83e0
3 changed files with 45 additions and 10 deletions

View File

@ -1,6 +1,6 @@
const fs = require('fs')
const path = require('path')
const yazl = require('yazl')
import * as fs from "fs";
import * as path from "path";
import * as yazl from "yazl";
function walkDirectory(dir, callback) {
for (const file of fs.readdirSync(dir)) {