@league-of-foundry-developers/foundry-vtt-types 9.269.0 → 9.269.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@league-of-foundry-developers/foundry-vtt-types",
3
- "version": "9.269.0",
3
+ "version": "9.269.1",
4
4
  "description": "TypeScript type definitions for Foundry VTT",
5
5
  "exports": {
6
6
  ".": {
@@ -59,8 +59,11 @@ declare global {
59
59
 
60
60
  /**
61
61
  * A simple window application which shows the built documentation pages within an iframe
62
+ * @typeParam Options - the type of the options object
62
63
  */
63
- class FrameViewer extends Application {
64
+ class FrameViewer<Options extends ApplicationOptions = ApplicationOptions> extends Application<Options> {
65
+ constructor(url: string, options?: Partial<Options>);
66
+
64
67
  url: string;
65
68
 
66
69
  /**
@@ -78,7 +81,7 @@ declare global {
78
81
  */
79
82
  static override get defaultOptions(): typeof Application['defaultOptions'];
80
83
 
81
- override getData(options?: Partial<ApplicationOptions>): Promise<{ src: string }>;
84
+ override getData(options?: Partial<Options>): Promise<{ src: string }>;
82
85
 
83
86
  override close(options?: Application.CloseOptions): ReturnType<Application['close']>;
84
87
  }