You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(property) onSave: (filePickerResult: IFilePickerResult[]) => {
new (type: string, eventInitDict?: EventInit): Event;
prototype: Event;
readonly AT_TARGET: number;
readonly BUBBLING_PHASE: number;
readonly CAPTURING_PHASE: number;
readonly NONE: number;
}
No overload matches this call.
The last overload gave the following error.
Type '(filePickerResult: IFilePickerResult[]) => { new (type: string, eventInitDict?: EventInit): Event; prototype: Event; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; }' is not assignable to type '(filePickerResult: IFilePickerResult) => void'.
Types of parameters 'filePickerResult' and 'filePickerResult' are incompatible.
Type 'IFilePickerResult' is missing the following properties from type 'IFilePickerResult[]': length, pop, push, concat, and 16 more.ts(2769)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
(property) onSave: (filePickerResult: IFilePickerResult[]) => {
new (type: string, eventInitDict?: EventInit): Event;
prototype: Event;
readonly AT_TARGET: number;
readonly BUBBLING_PHASE: number;
readonly CAPTURING_PHASE: number;
readonly NONE: number;
}
No overload matches this call.
The last overload gave the following error.
Type '(filePickerResult: IFilePickerResult[]) => { new (type: string, eventInitDict?: EventInit): Event; prototype: Event; readonly AT_TARGET: number; readonly BUBBLING_PHASE: number; readonly CAPTURING_PHASE: number; readonly NONE: number; }' is not assignable to type '(filePickerResult: IFilePickerResult) => void'.
Types of parameters 'filePickerResult' and 'filePickerResult' are incompatible.
Type 'IFilePickerResult' is missing the following properties from type 'IFilePickerResult[]': length, pop, push, concat, and 16 more.ts(2769)
Beta Was this translation helpful? Give feedback.
All reactions