Fix:Include Watcher as lib with no dependencies and fix tiny-readdir bug #610

This commit is contained in:
advplyr 2022-05-28 20:01:20 -05:00
parent 160dac109d
commit ec6e70725c
34 changed files with 2187 additions and 281 deletions

View file

@ -0,0 +1,19 @@
"use strict";
/* IMPORT */
var signal_1 = require("./signal");
/* ABORT CONTROLLER */
var AbortController = /** @class */ (function () {
function AbortController() {
/* VARIABLES */
this.signal = new signal_1.default();
}
/* API */
AbortController.prototype.abort = function () {
return this.signal.abort();
};
return AbortController;
}());
/* EXPORT */
module.exports = AbortController;
module.exports.default = AbortController;
Object.defineProperty(module.exports, "__esModule", { value: true });