wrong type definition of notifyRecordUpdateAvailable

Issue #2329 resolved
Adam Stepanek created an issue

By documentation this function notifyRecordUpdateAvailable accepts list of objects but the definition under lds.d.ts specifies list of strings.

Documentation:

notifyRecordUpdateAvailable(items: Array<{recordId: string}>)

lds.d.ts

export function notifyRecordUpdateAvailable(recordIds: string[]): void;

And therefore, such line gives warning
notifyRecordUpdateAvailable([{ recordId: this.recordId }]);

Comments (1)

  1. Log in to comment