clerc 1.0.0-beta.19 → 1.0.0-beta.20

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/dist/index.d.ts +2 -2
  2. package/package.json +8 -8
package/dist/index.d.ts CHANGED
@@ -46,7 +46,7 @@ type FlagDefaultValue<T = unknown> = T | FlagDefaultValueFunction<T>;
46
46
  *
47
47
  * @template T The target type.
48
48
  */
49
- interface FlagTypeFunction<T = unknown> {
49
+ interface TypeFunction<T = unknown> {
50
50
  (value: string): T;
51
51
  /**
52
52
  * Optional display name for the type, useful in help output.
@@ -54,7 +54,7 @@ interface FlagTypeFunction<T = unknown> {
54
54
  */
55
55
  display?: string;
56
56
  }
57
- type FlagType<T = unknown> = FlagTypeFunction<T> | readonly [FlagTypeFunction<T>];
57
+ type FlagType<T = unknown> = TypeFunction<T> | readonly [TypeFunction<T>];
58
58
  //#endregion
59
59
  //#region ../plugin-help/src/types.d.ts
60
60
  interface Formatters {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clerc",
3
- "version": "1.0.0-beta.19",
3
+ "version": "1.0.0-beta.20",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve)",
5
5
  "type": "module",
6
6
  "description": "Clerc: The full-featured cli library.",
@@ -44,12 +44,12 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@clerc/core": "1.0.0-beta.19",
48
- "@clerc/plugin-completions": "1.0.0-beta.19",
49
- "@clerc/plugin-not-found": "1.0.0-beta.19",
50
- "@clerc/plugin-friendly-error": "1.0.0-beta.19",
51
- "@clerc/plugin-strict-flags": "1.0.0-beta.19",
52
- "@clerc/plugin-version": "1.0.0-beta.19",
53
- "@clerc/plugin-help": "1.0.0-beta.19"
47
+ "@clerc/plugin-completions": "1.0.0-beta.20",
48
+ "@clerc/plugin-friendly-error": "1.0.0-beta.20",
49
+ "@clerc/core": "1.0.0-beta.20",
50
+ "@clerc/plugin-help": "1.0.0-beta.20",
51
+ "@clerc/plugin-not-found": "1.0.0-beta.20",
52
+ "@clerc/plugin-strict-flags": "1.0.0-beta.20",
53
+ "@clerc/plugin-version": "1.0.0-beta.20"
54
54
  }
55
55
  }