Skip to content

Commit

Permalink
chore: types etc
Browse files Browse the repository at this point in the history
  • Loading branch information
thepassle committed Aug 26, 2024
1 parent be92fdb commit b305054
Show file tree
Hide file tree
Showing 158 changed files with 513 additions and 855 deletions.
8 changes: 3 additions & 5 deletions types/codemods/abort-controller/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array-buffer-byte-length/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array-every/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array-includes/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array-map/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.from/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.of/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.at/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.concat/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.copywithin/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.entries/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.every/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.filter/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.find/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.findindex/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.findlast/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.findlastindex/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.flat/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.flatmap/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.foreach/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.indexof/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.join/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.keys/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.lastindexof/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.map/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.push/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.reduce/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.reduceright/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.slice/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.some/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.splice/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.toreversed/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
8 changes: 3 additions & 5 deletions types/codemods/array.prototype.tosorted/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @param {CodemodOptions} [options]
* @returns {Codemod}
*/
export default function _default(
options?: import('../../types.js').CodemodOptions | undefined,
): Codemod;
export type Codemod = import('../../types.js').Codemod;
export type CodemodOptions = import('../../types.js').CodemodOptions;
export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod;
export type Codemod = import("../../types.js").Codemod;
export type CodemodOptions = import("../../types.js").CodemodOptions;
Loading

0 comments on commit b305054

Please sign in to comment.