Skip to content

Instantly share code, notes, and snippets.

@andresesfm
andresesfm / tsc_no_checks.js
Created February 23, 2022 17:57
Takes the output of tsc (Typescript compiler) and marks the files with type errors with the no-check flag
#!/usr/bin/env node
const fs = require("fs");
const through = require('through');
const split = require('split');
/**
* Takes the output of tsc (Typescript compiler) and marks the files with type errors
* with the no-check flag
*/
function main() {