Skip to content

Commit

Permalink
fixup! Add normalize v2 jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
skad0 committed Feb 2, 2017
1 parent 131cadd commit f202193
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/normalize/v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ const BemEntityName = require('@bem/entity-name');

const declAssign = require('../assign');
/**
* @typedef {Object} Declaration
* @typedef {Object} DeclarationV2
* @property {Object} entity
* @property [{String}] entity.block
* @property [{String}] entity.elem
* @property [{String}] entity.modName
* @property [{String|Boolean}] entity.modVal
* @property {String} [entity.block]
* @property {String} [entity.elem]
* @property {String} [entity.modName]
* @property {String|Boolean} [entity.modVal]
* @property {String} tech
*/

/**
* Returns normalized set of cells
* @param {Declaration|Array|String} decl Array or single declaration or string as block name
* @param {BemCell} scope context
* @returns {Array.<BemCell>} Collection of BemCell
* @param {DeclarationV2|DeclarationV2[]|String} decl - Array or single declaration or string as block name
* @param {BemCell} scope - context
* @returns {BemCell[]} Collection of BemCell
*/
module.exports = function (decl, scope) {
const res = [];
Expand Down

0 comments on commit f202193

Please sign in to comment.