contential
Advanced tools
Comparing version 0.0.45 to 0.0.46
{ | ||
"name": "contential", | ||
"version": "0.0.45", | ||
"version": "0.0.46", | ||
"type": "commonjs", | ||
"peerDependencies": { | ||
"@contential/prompt": "0.0.16" | ||
}, | ||
"main": "./src/index.js", | ||
"types": "./src/index.d.ts" | ||
} |
/** | ||
* @param {import('@contential/prompt').PromptOptions} options | ||
* @returns {string} | ||
*/ | ||
export function contential(): string; | ||
export function contential(options: import('@contential/prompt').PromptOptions): string; | ||
/** | ||
@@ -6,0 +7,0 @@ * @const {string} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.test = exports.contential = void 0; | ||
const prompt_1 = require("@contential/prompt"); | ||
/** | ||
* @param {import('@contential/prompt').PromptOptions} options | ||
* @returns {string} | ||
*/ | ||
function contential() { | ||
return 'contential'; | ||
function contential(options) { | ||
return 'contential' + (0, prompt_1.prompt)({ text: options.text }); | ||
} | ||
@@ -10,0 +12,0 @@ exports.contential = contential; |
Sorry, the diff of this file is not supported yet
2005
30
1