@xaendar/types 0.7.10 → 0.7.11

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.
@@ -171,7 +171,7 @@ export declare type Mutable<T extends Object> = {
171
171
  * An async function type that accepts no arguments and returns a promise of the specified type.
172
172
  * @template ReturnType - The type that the promise resolves to (defaults to void)
173
173
  * @example
174
- * type FetchUser = AsyncFunctionNoArgs<User>;
174
+ * type FetchUser = NoArgsAsyncFunction<User>;
175
175
  * const fetchUser: FetchUser = async () => await api.getUser();
176
176
  */
177
177
  export declare type NoArgsAsyncFunction<ReturnType = void> = () => Promise<ReturnType>;
@@ -186,7 +186,7 @@ export declare type NoArgsAsyncVoidFunction = () => Promise<void>;
186
186
  * Also known as a 'thunk' in functional programming.
187
187
  * @template ReturnType - The return type of the function (defaults to void)
188
188
  * @example
189
- * type GetUser = FunctionNoArgs<User>;
189
+ * type GetUser = NoArgsFunction<User>;
190
190
  * const getUser: GetUser = () => ({ id: 1, name: 'John' });
191
191
  */
192
192
  export declare type NoArgsFunction<ReturnType = void> = () => ReturnType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaendar/types",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "A library containing common types shared across packages and consumers",
5
5
  "sideEffects": false,
6
6
  "type": "module",