- Linting (ESLint): Fix per latest ash-nazg update

- npm: Update ash-nazg devDep.
This commit is contained in:
Brett Zamir
2019-07-03 18:36:45 +08:00
parent e4231aeb10
commit 8a2f6ee6f2
4 changed files with 12 additions and 4 deletions

View File

@@ -90,12 +90,14 @@ export const canvg = function (target, s, opts) {
return svg.load(ctx, s);
};
/* eslint-disable jsdoc/check-types */
/**
* @param {module:canvg.CanvgOptions} opts
* @returns {object}
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
*/
function build (opts) {
/* eslint-enable jsdoc/check-types */
const svg = {opts};
svg.FRAMERATE = 30;

View File

@@ -22,6 +22,7 @@
* @returns {ArbitraryCallbackResult} Return dependent on the function
*/
/* eslint-disable jsdoc/check-types */
/**
* This should only be used for objects known to be potentially arbitrary in form.
* For those whose determination has not yet been made, simply use type `object`
@@ -31,6 +32,8 @@
/**
* @typedef {object} ArbitraryModule
*/
/* eslint-enable jsdoc/check-types */
/**
* This should only be used for objects known to be potentially arbitrary in form,
* but not of a special type.
@@ -38,11 +41,14 @@
* @typedef {ArbitraryObject} PlainObject
*/
/* eslint-disable jsdoc/check-types */
/**
* This should only be used for arrays known to be potentially arbitrary in form.
* For those whose determination has not yet been made, simply use type `Array`.
* @typedef {Array} GenericArray
*/
/* eslint-enable jsdoc/check-types */
/**
* This should only be used for arrays known to be potentially arbitrary in form and
* representing arguments for passing around