- 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;