Added rewrite.

This commit is contained in:
SamTV12345 2024-07-22 14:53:37 +02:00
parent fa2d6d15a9
commit f8175a6433
76 changed files with 3150 additions and 2453 deletions

View file

@ -1,5 +1,5 @@
'use strict';
const fs = require('fs');
import fs from 'fs';
const check = (path:string) => {
const existsSync = fs.statSync || fs.existsSync;
@ -13,4 +13,4 @@ const check = (path:string) => {
return result;
};
module.exports = check;
export default check