- Linting (ESLint): Fix per latest ash-nazg update
- npm: Update ash-nazg devDep.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user