Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Comment thread
bajtos marked this conversation as resolved.
}

/**
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]>;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


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