@rws-framework/client 2.9.0 → 2.9.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@rws-framework/client",
3
3
  "private": false,
4
- "version": "2.9.0",
4
+ "version": "2.9.1",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
7
7
  "docs": "typedoc --tsconfig ./tsconfig.json"
package/src/client.ts CHANGED
@@ -73,7 +73,7 @@ class RWSClient {
73
73
  }
74
74
  }
75
75
 
76
- addPlugin(pluginEntry: RWSPluginEntry<any>)
76
+ addPlugin<T extends DefaultRWSPluginOptionsType>(pluginEntry: RWSPluginEntry<T>)
77
77
  {
78
78
  this.config.plugins.push(pluginEntry);
79
79
  }
@@ -23,7 +23,7 @@ export default interface IRWSConfig {
23
23
  parted?: boolean
24
24
  partedFileDir?: string
25
25
  partedPrefix?: string
26
- plugins?: RWSPluginEntry<DefaultRWSPluginOptionsType>[]
26
+ plugins?: RWSPluginEntry<DefaultRWSPluginOptionsType | any>[]
27
27
  routing_enabled?: boolean
28
28
  _noLoad?: boolean
29
29
  }