mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
316 B
TypeScript
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);
|