Commit bdd9edcf authored by wildfirecode13's avatar wildfirecode13

1

parent 0802a90b
import Countdown from "./Countdown"; import Countdown from "./Countdown";
import EventEmitter from "./EventEmitter"; import EventEmitter from "./EventEmitter";
export { Countdown, EventEmitter }; import * as time from "./time";
import * as utils from "./utils";
export { Countdown, EventEmitter, time, utils };
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.EventEmitter = exports.Countdown = void 0; exports.utils = exports.time = exports.EventEmitter = exports.Countdown = void 0;
var Countdown_1 = require("./Countdown"); var Countdown_1 = require("./Countdown");
exports.Countdown = Countdown_1.default; exports.Countdown = Countdown_1.default;
var EventEmitter_1 = require("./EventEmitter"); var EventEmitter_1 = require("./EventEmitter");
exports.EventEmitter = EventEmitter_1.default; exports.EventEmitter = EventEmitter_1.default;
var time = require("./time");
exports.time = time;
var utils = require("./utils");
exports.utils = utils;
declare const _default: () => number;
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (function () {
var now = new Date();
now.setHours(0, 0, 0, 0);
return now.getTime();
});
import getDateTimer from "./getDateTimer";
export { getDateTimer };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDateTimer = void 0;
var getDateTimer_1 = require("./getDateTimer");
exports.getDateTimer = getDateTimer_1.default;
import wait from "./wait";
import test from "./test";
export { wait, test };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.test = exports.wait = void 0;
var wait_1 = require("./wait");
exports.wait = wait_1.default;
var test_1 = require("./test");
exports.test = test_1.default;
declare const _default: (ms: any) => Promise<unknown>;
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (function (ms) {
return new Promise(function (resolve, reject) {
setTimeout(function () {
resolve();
}, ms);
});
});
declare const _default: (ms: any) => Promise<unknown>;
export default _default;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (function (ms) {
return new Promise(function (resolve, reject) {
setTimeout(function () {
resolve();
}, ms);
});
});
{ {
"name": "teddi", "name": "teddi",
"version": "1.0.6", "version": "1.0.7",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
......
import Countdown from "./Countdown"; import Countdown from "./Countdown";
import EventEmitter from "./EventEmitter"; import EventEmitter from "./EventEmitter";
import * as time from "./time"
import * as utils from "./utils"
export { export {
Countdown, Countdown,
EventEmitter, EventEmitter,
}; time,
utils
};
\ No newline at end of file
export default ()=>{
const now = new Date();
now.setHours(0,0,0,0);
return now.getTime()
}
\ No newline at end of file
import getDateTimer from "./getDateTimer";
export {
getDateTimer
}
\ No newline at end of file
import wait from "./wait";
import test from "./test";
export {
wait,
test
}
\ No newline at end of file
export default (ms)=>{
return new Promise((resolve,reject)=>{
setTimeout(() => {
resolve()
}, ms);
})
}
\ No newline at end of file
export default (ms)=>{
return new Promise((resolve,reject)=>{
setTimeout(() => {
resolve()
}, ms);
})
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment