use overload to rewrite API 'readFileSync' and 'writeFileSync' to avoid union type of the result. (#41110)
use overload to rewrite API 'readFileSync' and 'writeFileSync' to avoid union type of the result. (#41110)


georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,dsebastien/DefinitelyTyped,markogresak/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,mcliment/DefinitelyTyped,georgemarshall/DefinitelyTyped