Skip to content

Commit

Permalink
TypeScript - CustomStore onLoaded result own param type (T1197789) (D…
Browse files Browse the repository at this point in the history
…evExpress#26244)

(cherry picked from commit 35147f4)
# Conflicts:
  • Loading branch information
mpreyskurantov committed Dec 22, 2023
1 parent aa822e8 commit fb46ba3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 8 additions & 0 deletions js/data/custom_store.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ export interface CustomStoreOptions<
* @public
*/
loadMode?: 'processed' | 'raw';
/**
* @docid
* @type_function_param1 result:LoadResult
* @type_function_param2 loadOptions:LoadOptions
* @action
* @public
*/
onLoaded?: ((result: LoadResult<TItem>, loadOptions: LoadOptions<TItem>) => void);
/**
* @docid
* @type_function_param1 key:object|string|number
Expand Down
7 changes: 0 additions & 7 deletions js/data/odata/store.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ export interface ODataStoreOptions<
* @public
*/
keyType?: 'String' | 'Int32' | 'Int64' | 'Guid' | 'Boolean' | 'Single' | 'Decimal' | any;
/**
* @docid
* @type_function_param1 loadOptions:LoadOptions
* @action
* @public
*/
onLoading?: ((loadOptions: LoadOptions<TItem>) => void);
/**
* @docid
* @public
Expand Down

0 comments on commit fb46ba3

Please sign in to comment.