- Linting (ESLint): Avoid unneeded tag name preference
- Linting (jsdoc): Avoid `Promise` without type
This commit is contained in:
@@ -47,7 +47,7 @@ const isNullish = (val) => {
|
||||
* @param {HTMLCanvasElement|string} target canvas element or the id of a canvas element
|
||||
* @param {string|XMLDocument} s - svg string, url to svg file, or xml document
|
||||
* @param {module:canvg.CanvgOptions} [opts] Optional hash of options
|
||||
* @returns {Promise} All the function after the first render is completed with dom
|
||||
* @returns {Promise<XMLDocument|XMLDocument[]>} All the function after the first render is completed with dom
|
||||
*/
|
||||
export const canvg = function (target, s, opts) {
|
||||
// no parameters
|
||||
|
||||
Reference in New Issue
Block a user