Skip to content

Instantly share code, notes, and snippets.



Created Oct 9, 2014
What would you like to do?
class FsAsync {
static readFile: (filename: string, encoding: string) => Promise<string>;
private static _init() {
FsAsync.readFile = <any>Promise.promisify(fs.readFile);
private static __init = FsAsync._init();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.