Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions types/leaflet-deepzoom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"private": true,
"name": "@types/leaflet-deepzoom",
"version": "2.0.9999",
"type": "module",
"projects": [
"https://github.com/alfarisi/leaflet-deepzoom/"
],
Expand Down
2 changes: 0 additions & 2 deletions types/nodes7/nodes7-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ i.dropConnection(() => {}); // $ExpectType void

// @ts-expect-error
i.setTranslationCB();
// @ts-expect-error
i.setTranslationCB(() => {});
i.setTranslationCB(() => ""); // $ExpectType void
i.setTranslationCB(x => x); // $ExpectType void

Expand Down
10 changes: 8 additions & 2 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24217,7 +24217,10 @@ declare namespace Office {
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
*
* **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
* **Important**: In Outlook clients that support Mailbox 1.15 or earlier, the entire SessionData object for each mail item is limited to 50,000 characters per add-in.
* In classic Outlook on Windows, you can preview an increased character limit of up to 2,621,440 characters per add-in. To test the updated limit, join the
* {@link https://aka.ms/MSFT365InsiderProgram | Microsoft 365 Insider program}, then choose the Beta Channel in the classic Outlook on Windows client.
* Your client must be on Version 2510 (Build 19317.20000) or later.
*
* @param name - The session data key.
* @param value - The session data value as a string.
Expand All @@ -24237,7 +24240,10 @@ declare namespace Office {
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
*
* **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
* **Important**: In Outlook clients that support Mailbox 1.15 or earlier, the entire SessionData object for each mail item is limited to 50,000 characters per add-in.
* In classic Outlook on Windows, you can preview an increased character limit of up to 2,621,440 characters per add-in. To test the updated limit, join the
* {@link https://aka.ms/MSFT365InsiderProgram | Microsoft 365 Insider program}, then choose the Beta Channel in the classic Outlook on Windows client.
* Your client must be on Version 2510 (Build 19317.20000) or later.
*
* @param name - The session data key.
* @param value - The session data value as a string.
Expand Down
4 changes: 2 additions & 2 deletions types/raphael/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ export type RaphaelPaperPluginRegistry<
[P in keyof T]: RaphaelPaperPluginMethodOrRegistry<TTechnology, T[P]>;
};

type RaphaelPaperPluginMethodOrRegistry<TTechnology extends RaphaelTechnology, T> = T extends (...args: any) => any
? RaphaelPaperPluginMethod<TTechnology, Parameters<T>, ReturnType<T>>
type RaphaelPaperPluginMethodOrRegistry<TTechnology extends RaphaelTechnology, T> = T extends readonly any[] ? {}
: T extends (...args: any) => any ? RaphaelPaperPluginMethod<TTechnology, Parameters<T>, ReturnType<T>>
: RaphaelPaperPluginRegistry<TTechnology, T>;
/**
* You can add your own method to elements. This is useful when you want to hack default functionality or want
Expand Down