as-model 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/index.d.ts +4 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -234,8 +234,10 @@ declare type SelectMethod<
234
234
  R extends (instance: () => T) => any = (instance: () => T) => T
235
235
  > = {
236
236
  (): ReturnType<R>;
237
- <C extends (instance: () => T) => any>(selector: C): ReturnType<C>;
238
- <C extends (instance: () => T) => any>(
237
+ <C extends (instance: () => ReturnType<R>) => any>(
238
+ selector: C
239
+ ): ReturnType<C>;
240
+ <C extends (instance: () => ReturnType<R>) => any>(
239
241
  selector?: C
240
242
  ): ReturnType<R> | ReturnType<C>;
241
243
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "as-model",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "This is a model state management tool",
6
6
  "license": "MIT",
7
7
  "author": "Jimmy.Harding",