From ad67d6d090e1ca9706748fc673678b9a2540ebb0 Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Fri, 24 May 2019 10:02:35 -0700 Subject: [PATCH] More proper docs --- src/defaults.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/defaults.js b/src/defaults.js index 1b57596..e052592 100644 --- a/src/defaults.js +++ b/src/defaults.js @@ -5,8 +5,8 @@ const getHomePage = require('./gethomepage') /** * Generate default configuration values from the given parsed `package.json`. * - * @param pkg - the parsed `package.json` file - * @param fallbacks (optional) - fallback default value for certain options, currently: + * @param {object} pkg - the parsed `package.json` file + * @param {?object} fallbacks - fallback default value for certain options, currently: * * `revision` */ module.exports = function getDefaultsFromPackageJSON (pkg, fallbacks = {}) {