mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 16:45:10 +08:00
added the Object.TYPE enum as well as fixed typos on Object.type2String and Object.string2Type
This commit is contained in:
3
types/nodegit/odb.d.ts
vendored
3
types/nodegit/odb.d.ts
vendored
@@ -1,6 +1,7 @@
|
||||
import { Oid } from './oid';
|
||||
import { OdbObject } from './odb-object';
|
||||
import { OdbExpandId } from './odb-expand-id';
|
||||
import { Object } from './object';
|
||||
|
||||
export namespace Odb {
|
||||
const enum STREAM {
|
||||
@@ -17,6 +18,6 @@ export class Odb {
|
||||
|
||||
free(): void;
|
||||
read(id: Oid): Promise<OdbObject>;
|
||||
write(data: Buffer, len: number, type: number): Promise<Oid>;
|
||||
write(data: Buffer, len: number, type: Object.TYPE): Promise<Oid>;
|
||||
expandIds(ids: OdbExpandId, count: number): number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user