file-prompt
Version:
An interactive prompt for selecting files from a directory.
1 lines • 581 B
JavaScript
;function _typeof(t){return t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var TransformAction=function t(e){_classCallCheck(this,t),this.creator="",this.type="",this.data="",this.timestamp=Date.now(),this.params={},"object"===("undefined"==typeof e?"undefined":_typeof(e))&&Object.assign(this,e),!e.type&&this.data&&(e.type=_typeof(this.data))};exports["default"]=TransformAction;