mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
fixed linting errors
This commit is contained in:
6
types/nodegit/diff.d.ts
vendored
6
types/nodegit/diff.d.ts
vendored
@@ -172,7 +172,7 @@ export class Diff {
|
||||
* Directly run a diff between a blob and a buffer.
|
||||
*
|
||||
* @static
|
||||
* @param {Blob} old_blob
|
||||
* @param {Blob} oldBlob
|
||||
* @param {string} oldAsPath
|
||||
* @param {string} buffer
|
||||
* @param {string} bufferAsPath
|
||||
@@ -185,8 +185,8 @@ export class Diff {
|
||||
*
|
||||
* @memberof Diff
|
||||
*/
|
||||
static blobToBuffer(old_blob: Blob, oldAsPath: string,
|
||||
buffer: string, bufferAsPath: string, opts: DiffOptions, fileCb: Function, binaryCb: Function, hunkCb: Function, lineCb: Function): Promise<any>;
|
||||
static blobToBuffer(oldBlob: Blob, oldAsPath: string,
|
||||
buffer: string, bufferAsPath: string, opts: DiffOptions, fileCb: Function, binaryCb: Function, hunkCb: Function, lineCb: Function): Promise<any>;
|
||||
/**
|
||||
*
|
||||
*
|
||||
|
||||
6
types/nodegit/odb-expand-id.d.ts
vendored
6
types/nodegit/odb-expand-id.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
import { Oid } from './oid';
|
||||
|
||||
export class OdbExpandId {
|
||||
id: Oid
|
||||
length: number
|
||||
type: number
|
||||
id: Oid;
|
||||
length: number;
|
||||
type: number;
|
||||
}
|
||||
|
||||
12
types/nodegit/proxy-options.d.ts
vendored
12
types/nodegit/proxy-options.d.ts
vendored
@@ -5,40 +5,40 @@ export class ProxyOptions {
|
||||
* @type {Function}
|
||||
* @memberof ProxyOptions
|
||||
*/
|
||||
certificateCheck?: Function
|
||||
certificateCheck?: Function;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {Function}
|
||||
* @memberof ProxyOptions
|
||||
*/
|
||||
credentials?: Function
|
||||
credentials?: Function;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {*}
|
||||
* @memberof ProxyOptions
|
||||
*/
|
||||
payload?: any
|
||||
payload?: any;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ProxyOptions
|
||||
*/
|
||||
type?: number
|
||||
type?: number;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ProxyOptions
|
||||
*/
|
||||
url?: string
|
||||
url?: string;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ProxyOptions
|
||||
*/
|
||||
version?: number
|
||||
version?: number;
|
||||
}
|
||||
|
||||
4
types/nodegit/push-options.d.ts
vendored
4
types/nodegit/push-options.d.ts
vendored
@@ -30,12 +30,12 @@ export interface PushOptions {
|
||||
* @type {Strarray}
|
||||
* @memberof PushOptions
|
||||
*/
|
||||
customHeaders: Strarray
|
||||
customHeaders: Strarray;
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @type {ProxyOptions}
|
||||
* @memberof PushOptions
|
||||
*/
|
||||
proxyOpts: ProxyOptions
|
||||
proxyOpts: ProxyOptions;
|
||||
}
|
||||
|
||||
1
types/nodegit/rev-walk.d.ts
vendored
1
types/nodegit/rev-walk.d.ts
vendored
@@ -187,5 +187,4 @@ export class Revwalk {
|
||||
* @memberof Revwalk
|
||||
*/
|
||||
getCommits(count: number): Promise<Commit[]>;
|
||||
|
||||
}
|
||||
|
||||
11
types/nodegit/tree.d.ts
vendored
11
types/nodegit/tree.d.ts
vendored
@@ -36,15 +36,6 @@ export class Tree {
|
||||
* @memberof Tree
|
||||
*/
|
||||
static entryDup(dest: TreeEntry, source: TreeEntry): number;
|
||||
/**
|
||||
* Retrieves the tree pointed to by the oid
|
||||
*
|
||||
* @static
|
||||
* @returns {Promise<Tree>}
|
||||
*
|
||||
* @memberof Tree
|
||||
*/
|
||||
static lookup(): Promise<Tree>;
|
||||
/**
|
||||
*
|
||||
*
|
||||
@@ -57,7 +48,6 @@ export class Tree {
|
||||
* @memberof Tree
|
||||
*/
|
||||
static lookupPrefix(repo: Repository, id: Oid, len: number): Promise<Tree>;
|
||||
|
||||
/**
|
||||
* Retrieves the tree pointed to by the oid
|
||||
*
|
||||
@@ -70,7 +60,6 @@ export class Tree {
|
||||
* @memberof Tree
|
||||
*/
|
||||
static lookup(repo: Repository, id: string | Oid | Tree, callback: Function): Promise<Tree>;
|
||||
static lookupPrefix(repo: Repository, id: Oid, len: number): Promise<Tree>;
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user