@commercelayer/cli-core 5.7.1 → 5.7.2

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/lib/index.d.mts CHANGED
@@ -174,7 +174,7 @@ type Config = {
174
174
  };
175
175
  declare const config: Config;
176
176
 
177
- declare const commandFlags: <T extends FlagInput>(flags: T, exclude?: Array<keyof T>) => Partial<T>;
177
+ declare const commandFlags: <T extends FlagInput>(flags: T, exclude?: Array<keyof T>) => T;
178
178
  declare const allFlags: (command: Command.Class) => FlagInput;
179
179
  type KeyVal = Record<string, string | number | boolean | undefined | null>;
180
180
  type KeyValString = Record<string, string>;
package/lib/index.d.ts CHANGED
@@ -174,7 +174,7 @@ type Config = {
174
174
  };
175
175
  declare const config: Config;
176
176
 
177
- declare const commandFlags: <T extends FlagInput>(flags: T, exclude?: Array<keyof T>) => Partial<T>;
177
+ declare const commandFlags: <T extends FlagInput>(flags: T, exclude?: Array<keyof T>) => T;
178
178
  declare const allFlags: (command: Command.Class) => FlagInput;
179
179
  type KeyVal = Record<string, string | number | boolean | undefined | null>;
180
180
  type KeyValString = Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercelayer/cli-core",
3
- "version": "5.7.1",
3
+ "version": "5.7.2",
4
4
  "author": "Pierluigi Viti <pierluigi@commercelayer.io>",
5
5
  "license": "MIT",
6
6
  "description": "Commerce Layer Javascript CLI core lib",