UNPKG

deepdash

Version:

➔ 𝐃eep standalone lib / 𝐋odash extension: ✓ eachDeep ✓ filterDeep ✓ mapDeep ✓ reduceDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parents stack ⋮ Circular check ⋮ Leaves only mode ⋮ Children mode ⋮ cherry-pick ⋮ esm

12 lines (8 loc) 280 B
var arstr = require('../arstr'); module.exports = function(methodName) { let capMethodName = arstr.upFirst(methodName); return `/* build/tpl */ import ${methodName} from "./${methodName}"; export default function get${capMethodName}(_: Object): typeof ${methodName}; `; };