bard-legends-framework 1.1.5 → 1.1.6

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/dist/index.d.mts CHANGED
@@ -50,7 +50,7 @@ declare abstract class Scene<InputType, OutputType> extends IDAttachable {
50
50
  static open<T extends Scene<any, any>>(this: new (...args1: unknown[]) => T, ...args2: T extends Scene<void, any> ? [] : [SceneInput<T>]): SingleEvent<T>;
51
51
  readonly onClose: actions_lib.Notifier<OutputType>;
52
52
  constructor();
53
- close(...args: OutputType extends void ? [] : [OutputType]): SingleEvent<OutputType>;
53
+ close(...args: void extends OutputType ? (OutputType extends void ? [] : [OutputType]) : [OutputType]): SingleEvent<OutputType>;
54
54
  protected abstract init(input: InputType): SingleEvent;
55
55
  protected abstract update(time: number, delta: number): void;
56
56
  protected abstract prepareToClose(): SingleEvent;
package/dist/index.d.ts CHANGED
@@ -50,7 +50,7 @@ declare abstract class Scene<InputType, OutputType> extends IDAttachable {
50
50
  static open<T extends Scene<any, any>>(this: new (...args1: unknown[]) => T, ...args2: T extends Scene<void, any> ? [] : [SceneInput<T>]): SingleEvent<T>;
51
51
  readonly onClose: actions_lib.Notifier<OutputType>;
52
52
  constructor();
53
- close(...args: OutputType extends void ? [] : [OutputType]): SingleEvent<OutputType>;
53
+ close(...args: void extends OutputType ? (OutputType extends void ? [] : [OutputType]) : [OutputType]): SingleEvent<OutputType>;
54
54
  protected abstract init(input: InputType): SingleEvent;
55
55
  protected abstract update(time: number, delta: number): void;
56
56
  protected abstract prepareToClose(): SingleEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bard-legends-framework",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Bard Legends Framework",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {