@types/gimloader 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gimloader/README.md CHANGED
@@ -8,8 +8,8 @@ This package contains type definitions for gimloader (https://github.com/Gimload
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gimloader.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 12 Sep 2025 19:32:39 GMT
11
+ * Last updated: Mon, 15 Sep 2025 16:02:29 GMT
12
12
  * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/react-dom](https://npmjs.com/package/@types/react-dom)
13
13
 
14
14
  # Credits
15
- These definitions were written by [TheLazySquid](https://github.com/TheLazySquid).
15
+ These definitions were written by [TheLazySquid](https://github.com/TheLazySquid), and [Riptide](https://github.com/RiptideAtlantic).
gimloader/index.d.ts CHANGED
@@ -298,7 +298,8 @@ declare namespace Gimloader {
298
298
 
299
299
  type PatcherInsteadCallback = (thisVal: any, args: IArguments) => void;
300
300
 
301
- type PatcherBeforeCallback = (thisVal: any, args: IArguments) => boolean | undefined;
301
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
302
+ type PatcherBeforeCallback = (thisVal: any, args: IArguments) => boolean | void;
302
303
 
303
304
  type PatcherAfterCallback = (thisVal: any, args: IArguments, returnVal: any) => any;
304
305
 
@@ -371,7 +372,8 @@ declare namespace Gimloader {
371
372
  interface ModalButton {
372
373
  text: string;
373
374
  style?: "primary" | "danger" | "close";
374
- onClick?: (event: MouseEvent) => boolean | undefined;
375
+ // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
376
+ onClick?: (event: MouseEvent) => boolean | void;
375
377
  }
376
378
 
377
379
  interface ModalOptions {
gimloader/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/gimloader",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "TypeScript definitions for gimloader",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gimloader",
6
6
  "license": "MIT",
@@ -9,6 +9,11 @@
9
9
  "name": "TheLazySquid",
10
10
  "githubUsername": "TheLazySquid",
11
11
  "url": "https://github.com/TheLazySquid"
12
+ },
13
+ {
14
+ "name": "Riptide",
15
+ "githubUsername": "RiptideAtlantic",
16
+ "url": "https://github.com/RiptideAtlantic"
12
17
  }
13
18
  ],
14
19
  "main": "",
@@ -24,6 +29,6 @@
24
29
  "@types/react-dom": "*"
25
30
  },
26
31
  "peerDependencies": {},
27
- "typesPublisherContentHash": "d804a544bedef771c8985233d4e23a8bfcfadafa34060303ba20e3dbe79b51f8",
32
+ "typesPublisherContentHash": "7de7c93bb80b16158fe8859969dec741f5d04e8d578c26fb7cf282f83eb855b9",
28
33
  "typeScriptVersion": "5.2"
29
34
  }