@sandro-sikic/maker 1.0.6 → 1.0.7

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 +2 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -16,13 +16,8 @@ export function run(
16
16
 
17
17
  export function onExit(cb: () => void | Promise<void>): () => void;
18
18
 
19
- // runtime-forwarded objects (exported as values in JS)
20
- export const prompt: <T = any>(...args: any[]) => Promise<T | null>;
21
- export const spinner: (
22
- text?: string,
23
- options?: any,
24
- ) => Promise<import('ora').Ora | null>;
19
+ export const prompt: typeof import('@inquirer/prompts');
20
+ export const spinner: typeof import('ora');
25
21
 
26
- // type forwarding for downstream consumers
27
22
  export type { Ora } from 'ora';
28
23
  export * from '@inquirer/prompts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sandro-sikic/maker",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A library to create dev cli",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",