Skip to content

Commit

Permalink
Merge pull request #1654 from strongloop/fix/types
Browse files Browse the repository at this point in the history
fix: update typescript declarations
  • Loading branch information
b-admike committed Jan 31, 2019
2 parents 4d28881 + 4b705b1 commit c7d23d1
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 c7d23d1

Please sign in to comment.