Comparing version 0.0.7 to 0.0.8
#!/usr/bin/env node | ||
import { DrinkInterface } from '../interfaces/drinkInterface'; | ||
export declare const makeByName: (input: string, amount: number) => DrinkInterface | DrinkInterface[]; | ||
export declare const makeByRandom: (amount: number) => DrinkInterface; | ||
export declare const makeByName: (input: string, amount: number) => DrinkInterface[]; | ||
export declare const makeByRandom: (amount: number) => DrinkInterface[]; |
@@ -18,3 +18,3 @@ #!/usr/bin/env node | ||
output_1.default(recipe, amount); | ||
return (recipe); | ||
return (Array(recipe)); | ||
} | ||
@@ -47,4 +47,4 @@ else { | ||
output_1.default(recipe, amount); | ||
return recipe; | ||
return Array(recipe); | ||
}; | ||
exports.makeByRandom = makeByRandom; |
import { DrinkInterface } from '../interfaces/drinkInterface'; | ||
declare const logMakeOutput: (result: DrinkInterface, inputAmount: number) => (string | string[])[]; | ||
declare const logMakeOutput: (result: DrinkInterface, inputAmount: number) => void; | ||
export default logMakeOutput; |
@@ -44,4 +44,3 @@ "use strict"; | ||
outputArray.push(finish); | ||
return outputArray; | ||
}; | ||
exports.default = logMakeOutput; |
{ | ||
"name": "barcart", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "find cocktails based on what you have", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
@@ -31,3 +31,3 @@ # barcart | ||
All functions should return the array declared in [drinkInterfaces](https://github.com/drinkingandcoding/barcart/blob/main/src/interfaces/drinkInterface.ts) | ||
All functions should return an array of objects declared in [drinkInterfaces](https://github.com/drinkingandcoding/barcart/blob/main/src/interfaces/drinkInterface.ts) | ||
@@ -34,0 +34,0 @@ ### Make |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67352
1767