silverwolf-x's picture
download
raw
489 Bytes
const fs = require("fs");
const generatedFilePath = "src/gql/gql.ts";
fs.readFile(generatedFilePath, "utf8", (err, data) => {
if (err) {
console.error("Error reading file:", err);
return;
}
const updatedContent = `// @ts-nocheck\n${data}`;
fs.writeFile(generatedFilePath, updatedContent, "utf8", (err) => {
if (err) {
console.error("Error writing file:", err);
} else {
console.log(`Added "// @ts-nocheck" to ${generatedFilePath}`);
}
});
});

Xet Storage Details

Size:
489 Bytes
·
Xet hash:
08d7ab44bbdcfcd08ed9d0de936efcf0a5e41eb6431c8ab8c1081b3d723e2b5d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.