Skip to content

Commit

Permalink
Remove JSDoc type as it gave no intellisense improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
fatso83 committed Feb 10, 2024
1 parent dd831b1 commit 4667c29
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/fake-timers-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,6 @@ if (typeof require === "function" && typeof module === "object") {
* @property {boolean} [ignoreMissingTimers] default is false, meaning asking to fake timers that are not present will throw an error
*/

/**
* Map of the potential timers/objects to fake and their presence in the passed in global
*
* @typedef {object} TimerPresenceMap
* @property {boolean} performance whether or not global.performance is there
* @property {boolean} setTimeout is setTimeout present
* @property {boolean} setImmediate is setImmediate present
* @property {boolean} hrtime is 'hrtime' present
* @property {boolean} hrtimeBigint is 'hrtimeBigint' present
* @property {boolean} queueMicrotask is 'queueMicrotask' present
*/

/* eslint-disable jsdoc/require-property-description */
/**
* The internal structure to describe a scheduled fake timer
Expand Down Expand Up @@ -164,7 +152,6 @@ function withGlobal(_global) {
const NOOP_ARRAY = function () {
return [];
};
/** @type {TimerPresenceMap} */
const isPresent = {};
let timeoutResult,
addTimerReturnsObject = false;
Expand Down

0 comments on commit 4667c29

Please sign in to comment.