UNPKG

329 BTypeScriptView Raw
1import Github = require('github');
2
3declare module "github" {
4
5 class Github {
6 repos: {
7 getReleases(params: Github.ReposGetReleasesParams, callback?: Github.Callback): Promise<any>;
8 }
9 }
10 interface Release {
11 url: string,
12 name: string,
13 tag_name: string,
14 id: number,
15 tarball_url: string,
16 }
17}