From 9b8d3d7c9de374e7774991fef14ced7a640b6089 Mon Sep 17 00:00:00 2001 From: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com> Date: Tue, 3 Sep 2019 13:51:09 -0700 Subject: [PATCH] [office-js, office-js-preview] Correcting the Range.autofill description (#38010) * Correcting the Range.autofill description * Fix spacing --- types/office-js-preview/index.d.ts | 16 ++++++++++++---- types/office-js/index.d.ts | 16 ++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 48d6cfd3f8..4cbc3ac299 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -21662,8 +21662,12 @@ declare namespace Excel { set(properties: Excel.Range): void; /** * - * Fills range from the current range to the destination range. - The destination range must extend the source either horizontally or vertically. Discontiguous ranges are not supported. + * Fills range from the current range to the destination range using the specified AutoFill logic. + * The destination range can be null, or can extend the source either horizontally or vertically. + * If the destination range is null, data is filled out based on the surrounding cells (which is the behavior when double-clicking the UI’s range fill handle). + * Discontiguous ranges are not supported. + * + * For more information, read {@link https://support.office.com/article/video-use-autofill-and-flash-fill-2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}. * * [Api set: ExcelApi 1.9] * @@ -21673,8 +21677,12 @@ declare namespace Excel { autoFill(destinationRange: Range | string, autoFillType?: Excel.AutoFillType): void; /** * - * Fills range from the current range to the destination range. - The destination range must extend the source either horizontally or vertically. Discontiguous ranges are not supported. + * Fills range from the current range to the destination range using the specified AutoFill logic. + * The destination range can be null, or can extend the source either horizontally or vertically. + * If the destination range is null, data is filled out based on the surrounding cells (which is the behavior when double-clicking the UI’s range fill handle). + * Discontiguous ranges are not supported. + * + * For more information, read {@link https://support.office.com/article/video-use-autofill-and-flash-fill-2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}. * * [Api set: ExcelApi 1.9] * diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 3da4c80d1d..69531afc54 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -18876,8 +18876,12 @@ declare namespace Excel { set(properties: Excel.Range): void; /** * - * Fills range from the current range to the destination range. - The destination range must extend the source either horizontally or vertically. Discontiguous ranges are not supported. + * Fills range from the current range to the destination range using the specified AutoFill logic. + * The destination range can be null, or can extend the source either horizontally or vertically. + * If the destination range is null, data is filled out based on the surrounding cells (which is the behavior when double-clicking the UI’s range fill handle). + * Discontiguous ranges are not supported. + * + * For more information, read {@link https://support.office.com/article/video-use-autofill-and-flash-fill-2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}. * * [Api set: ExcelApi 1.9] * @@ -18887,8 +18891,12 @@ declare namespace Excel { autoFill(destinationRange: Range | string, autoFillType?: Excel.AutoFillType): void; /** * - * Fills range from the current range to the destination range. - The destination range must extend the source either horizontally or vertically. Discontiguous ranges are not supported. + * Fills range from the current range to the destination range using the specified AutoFill logic. + * The destination range can be null, or can extend the source either horizontally or vertically. + * If the destination range is null, data is filled out based on the surrounding cells (which is the behavior when double-clicking the UI’s range fill handle). + * Discontiguous ranges are not supported. + * + * For more information, read {@link https://support.office.com/article/video-use-autofill-and-flash-fill-2e79a709-c814-4b27-8bc2-c4dc84d49464 | Use AutoFill and Flash Fill}. * * [Api set: ExcelApi 1.9] *