DefinitelyTyped/types/gh-pages/gh-pages-tests.ts
Daniel Rosenwasser 3194d1c165 Added 'gh-pages'.
2018-09-26 15:21:56 -04:00

16 lines
316 B
TypeScript

import ghPages = require("gh-pages");
const dir = "./";
const emptyOptions = {};
const callback = (err: any) => { };
ghPages.publish(dir, callback);
ghPages.publish(dir, emptyOptions, callback);
ghPages.publish("dist", {
user: {
name: "Daniel",
email: "daniel@example.com"
}
}, callback);