Skip to content

Commit

Permalink
fix: update typescript declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
biniam committed Nov 5, 2018
1 parent f0a6bd1 commit e1b871a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions types/connector.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface Connector {
disconnect(callback?: Callback): PromiseOrVoid; // Disconnect from the underlying system
ping(callback?: Callback): PromiseOrVoid; // Ping the underlying system
execute?(...args: any[]): Promise<any>;
[property: string]: any; // Other properties that vary by connectors
}

/**
Expand Down
2 changes: 1 addition & 1 deletion types/persisted-model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export declare class PersistedModel extends ModelBase {
data: PersistedData,
options?: Options,
callback?: Callback<PersistedModel>,
): PromiseOrVoid<PersistedModel>;
): PromiseOrVoid<[PersistedModel, boolean]>;

/**
* Check whether a model instance exists in database.
Expand Down

0 comments on commit e1b871a

Please sign in to comment.