From 1a30cf9c1c9052cc8ea326b01559c8101033f0e3 Mon Sep 17 00:00:00 2001 From: dajiaohuang Date: Tue, 8 Sep 2026 10:44:21 +0800 Subject: [PATCH] docs: clarify forEachSlice callback --- src/@types/indexes/docs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/@types/indexes/docs.js b/src/@types/indexes/docs.js index 2dd37b107af..40cb2eae215 100644 --- a/src/@types/indexes/docs.js +++ b/src/@types/indexes/docs.js @@ -511,9 +511,9 @@ * Slice in a specified Index. * * This method is useful for iterating over the Slice structure of the Index - * in a functional style. The `rowCallback` parameter is a RowCallback - * function that will be called with the Id and value of each Row in the - * Slice. + * in a functional style. The `sliceCallback` parameter is a SliceCallback + * function that will be called with the Id of each Slice and a function for + * iterating over its Rows. * @param indexId The Id of the Index to iterate over. * @param sliceCallback The function that should be called for every Slice. * @example