Improve in-code doc comments

This commit is contained in:
Beto Muniz 2021-05-17 12:42:07 -03:00
parent b43d93e69d
commit d1eac52d40
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ import command from '../common/command';
/**
* Cut action wrapper.
* @param {HTMLElement} target
* @param {String|HTMLElement} target
* @return {String}
*/
const ClipboardActionCut = (target) => {

View File

@ -113,7 +113,7 @@ class Clipboard extends Emitter {
/**
* Allow fire programmatically a copy action
* @param {Element} target
* @param {String|HTMLElement} target
* @param {Object} options
* @returns Text copied.
*/
@ -123,7 +123,7 @@ class Clipboard extends Emitter {
/**
* Allow fire programmatically a cut action
* @param {Element} target
* @param {String|HTMLElement} target
* @returns Text cutted.
*/
static cut(target) {