diff --git a/types/dygraphs/dygraphs-tests.ts b/types/dygraphs/dygraphs-tests.ts index 21a0504da32460..51ccfd7b1aac26 100644 --- a/types/dygraphs/dygraphs-tests.ts +++ b/types/dygraphs/dygraphs-tests.ts @@ -69,6 +69,7 @@ const d = new Dygraph(new HTMLDivElement(), "data", { labelsSeparateLines: true, legend: "always", rangeSelectorForegroundStrokeColor: "white", + resizable: "both", rollPeriod: 14, series: { y: { @@ -233,6 +234,10 @@ d.setAnnotations([ event; }, }, + { + series: "sine wave", + xval: 20700, + }, ]); // $ExpectType Annotation[] diff --git a/types/dygraphs/index.d.ts b/types/dygraphs/index.d.ts index 39283c1d043d84..9e98a9704cb099 100644 --- a/types/dygraphs/index.d.ts +++ b/types/dygraphs/index.d.ts @@ -777,6 +777,17 @@ export namespace dygraphs { */ rangeSelectorPlotStrokeColor?: string | null | undefined; + /** + * Whether to add a ResizeObserver to the container div ("passive") and additionally + * make it resizable ("horizontal", "vertical", "both"). In any case, if the container + * div has CSS "overflow:visible;" it will be changed to "overflow:hidden;" to make CSS + * resizing possible. Note that this is distinct from resizing the graph when the window + * size changes, which is always active; this feature adds user-resizable “handles” to + * the container div. + * @default no + */ + resizable?: "passive" | "horizontal" | "vertical" | "both" | "no" | undefined; + /** * Number of pixels to leave blank at the right edge of the Dygraph. This makes it easier to * highlight the right-most data point. @@ -1100,6 +1111,12 @@ export namespace dygraphs { */ x?: number | string | undefined; + /** + * The numeric x value of the point, milliseconds since the epoch for a Date x axis. + * You must set either x or xval. + */ + xval?: number | undefined; + /** Text that will appear on the annotation's flag. */ shortText?: string | undefined; diff --git a/types/mailchimp__mailchimp_marketing/index.d.ts b/types/mailchimp__mailchimp_marketing/index.d.ts index ae911d347f4669..8aa6265c347829 100644 --- a/types/mailchimp__mailchimp_marketing/index.d.ts +++ b/types/mailchimp__mailchimp_marketing/index.d.ts @@ -1455,7 +1455,7 @@ export namespace lists { interface MemberLocation { latitude: number; - logitude: number; + longitude: number; } interface FullMemberLocation extends MemberLocation { diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 5e33bab6d01da6..b80be3202ed379 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -288,6 +288,8 @@ declare namespace Office { */ function initialize(reason: InitializationReason): void; /** + * **WARNING**: This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead. + * * Checks if the specified requirement set is supported by the Office application. * @param name - Set name; e.g., "MatrixBindings". * @param minVersion - The minimum required version; e.g., "1.4". diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 5960cf2159e315..453bd0d13b9813 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -288,6 +288,8 @@ declare namespace Office { */ function initialize(reason: InitializationReason): void; /** + * **WARNING**: This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead. + * * Checks if the specified requirement set is supported by the Office application. * @param name - Set name; e.g., "MatrixBindings". * @param minVersion - The minimum required version; e.g., "1.4".