diff --git a/types/codemods/abort-controller/index.d.ts b/types/codemods/abort-controller/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/abort-controller/index.d.ts +++ b/types/codemods/abort-controller/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array-buffer-byte-length/index.d.ts b/types/codemods/array-buffer-byte-length/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array-buffer-byte-length/index.d.ts +++ b/types/codemods/array-buffer-byte-length/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array-every/index.d.ts b/types/codemods/array-every/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array-every/index.d.ts +++ b/types/codemods/array-every/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array-includes/index.d.ts b/types/codemods/array-includes/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array-includes/index.d.ts +++ b/types/codemods/array-includes/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array-map/index.d.ts b/types/codemods/array-map/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array-map/index.d.ts +++ b/types/codemods/array-map/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.from/index.d.ts b/types/codemods/array.from/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.from/index.d.ts +++ b/types/codemods/array.from/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.of/index.d.ts b/types/codemods/array.of/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.of/index.d.ts +++ b/types/codemods/array.of/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.at/index.d.ts b/types/codemods/array.prototype.at/index.d.ts index ac82955..a8f16fb 100644 --- a/types/codemods/array.prototype.at/index.d.ts +++ b/types/codemods/array.prototype.at/index.d.ts @@ -13,6 +13,8 @@ * @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; diff --git a/types/codemods/array.prototype.concat/index.d.ts b/types/codemods/array.prototype.concat/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.concat/index.d.ts +++ b/types/codemods/array.prototype.concat/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.copywithin/index.d.ts b/types/codemods/array.prototype.copywithin/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.copywithin/index.d.ts +++ b/types/codemods/array.prototype.copywithin/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.entries/index.d.ts b/types/codemods/array.prototype.entries/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.entries/index.d.ts +++ b/types/codemods/array.prototype.entries/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.every/index.d.ts b/types/codemods/array.prototype.every/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.every/index.d.ts +++ b/types/codemods/array.prototype.every/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.filter/index.d.ts b/types/codemods/array.prototype.filter/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.filter/index.d.ts +++ b/types/codemods/array.prototype.filter/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.find/index.d.ts b/types/codemods/array.prototype.find/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.find/index.d.ts +++ b/types/codemods/array.prototype.find/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.findindex/index.d.ts b/types/codemods/array.prototype.findindex/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.findindex/index.d.ts +++ b/types/codemods/array.prototype.findindex/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.findlast/index.d.ts b/types/codemods/array.prototype.findlast/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.findlast/index.d.ts +++ b/types/codemods/array.prototype.findlast/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.findlastindex/index.d.ts b/types/codemods/array.prototype.findlastindex/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.findlastindex/index.d.ts +++ b/types/codemods/array.prototype.findlastindex/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.flat/index.d.ts b/types/codemods/array.prototype.flat/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.flat/index.d.ts +++ b/types/codemods/array.prototype.flat/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.flatmap/index.d.ts b/types/codemods/array.prototype.flatmap/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.flatmap/index.d.ts +++ b/types/codemods/array.prototype.flatmap/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.foreach/index.d.ts b/types/codemods/array.prototype.foreach/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.foreach/index.d.ts +++ b/types/codemods/array.prototype.foreach/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.indexof/index.d.ts b/types/codemods/array.prototype.indexof/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.indexof/index.d.ts +++ b/types/codemods/array.prototype.indexof/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.join/index.d.ts b/types/codemods/array.prototype.join/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.join/index.d.ts +++ b/types/codemods/array.prototype.join/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.keys/index.d.ts b/types/codemods/array.prototype.keys/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.keys/index.d.ts +++ b/types/codemods/array.prototype.keys/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.lastindexof/index.d.ts b/types/codemods/array.prototype.lastindexof/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.lastindexof/index.d.ts +++ b/types/codemods/array.prototype.lastindexof/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.map/index.d.ts b/types/codemods/array.prototype.map/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.map/index.d.ts +++ b/types/codemods/array.prototype.map/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.push/index.d.ts b/types/codemods/array.prototype.push/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.push/index.d.ts +++ b/types/codemods/array.prototype.push/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.reduce/index.d.ts b/types/codemods/array.prototype.reduce/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.reduce/index.d.ts +++ b/types/codemods/array.prototype.reduce/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.reduceright/index.d.ts b/types/codemods/array.prototype.reduceright/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.reduceright/index.d.ts +++ b/types/codemods/array.prototype.reduceright/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.slice/index.d.ts b/types/codemods/array.prototype.slice/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.slice/index.d.ts +++ b/types/codemods/array.prototype.slice/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.some/index.d.ts b/types/codemods/array.prototype.some/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.some/index.d.ts +++ b/types/codemods/array.prototype.some/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.splice/index.d.ts b/types/codemods/array.prototype.splice/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.splice/index.d.ts +++ b/types/codemods/array.prototype.splice/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.toreversed/index.d.ts b/types/codemods/array.prototype.toreversed/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.toreversed/index.d.ts +++ b/types/codemods/array.prototype.toreversed/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.tosorted/index.d.ts b/types/codemods/array.prototype.tosorted/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.tosorted/index.d.ts +++ b/types/codemods/array.prototype.tosorted/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.tospliced/index.d.ts b/types/codemods/array.prototype.tospliced/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.tospliced/index.d.ts +++ b/types/codemods/array.prototype.tospliced/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.unshift/index.d.ts b/types/codemods/array.prototype.unshift/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.unshift/index.d.ts +++ b/types/codemods/array.prototype.unshift/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.values/index.d.ts b/types/codemods/array.prototype.values/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.values/index.d.ts +++ b/types/codemods/array.prototype.values/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/array.prototype.with/index.d.ts b/types/codemods/array.prototype.with/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/array.prototype.with/index.d.ts +++ b/types/codemods/array.prototype.with/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/arraybuffer.prototype.slice/index.d.ts b/types/codemods/arraybuffer.prototype.slice/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/arraybuffer.prototype.slice/index.d.ts +++ b/types/codemods/arraybuffer.prototype.slice/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/chalk/index.d.ts b/types/codemods/chalk/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/chalk/index.d.ts +++ b/types/codemods/chalk/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/clone-regexp/index.d.ts b/types/codemods/clone-regexp/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/clone-regexp/index.d.ts +++ b/types/codemods/clone-regexp/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/concat-map/index.d.ts b/types/codemods/concat-map/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/concat-map/index.d.ts +++ b/types/codemods/concat-map/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/data-view-buffer/index.d.ts b/types/codemods/data-view-buffer/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/data-view-buffer/index.d.ts +++ b/types/codemods/data-view-buffer/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/data-view-byte-length/index.d.ts b/types/codemods/data-view-byte-length/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/data-view-byte-length/index.d.ts +++ b/types/codemods/data-view-byte-length/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/data-view-byte-offset/index.d.ts b/types/codemods/data-view-byte-offset/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/data-view-byte-offset/index.d.ts +++ b/types/codemods/data-view-byte-offset/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/date/index.d.ts b/types/codemods/date/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/date/index.d.ts +++ b/types/codemods/date/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/deep-equal/index.d.ts b/types/codemods/deep-equal/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/deep-equal/index.d.ts +++ b/types/codemods/deep-equal/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/define-properties/index.d.ts b/types/codemods/define-properties/index.d.ts index ac4b2c5..0a26201 100644 --- a/types/codemods/define-properties/index.d.ts +++ b/types/codemods/define-properties/index.d.ts @@ -2,6 +2,8 @@ * @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; diff --git a/types/codemods/error-cause/index.d.ts b/types/codemods/error-cause/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/error-cause/index.d.ts +++ b/types/codemods/error-cause/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/es-aggregate-error/index.d.ts b/types/codemods/es-aggregate-error/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/es-aggregate-error/index.d.ts +++ b/types/codemods/es-aggregate-error/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/es-define-property/index.d.ts b/types/codemods/es-define-property/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/es-define-property/index.d.ts +++ b/types/codemods/es-define-property/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/es-errors/index.d.ts b/types/codemods/es-errors/index.d.ts index ac4b2c5..0a26201 100644 --- a/types/codemods/es-errors/index.d.ts +++ b/types/codemods/es-errors/index.d.ts @@ -2,6 +2,8 @@ * @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; diff --git a/types/codemods/es-get-iterator/index.d.ts b/types/codemods/es-get-iterator/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/es-get-iterator/index.d.ts +++ b/types/codemods/es-get-iterator/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/es-set-tostringtag/index.d.ts b/types/codemods/es-set-tostringtag/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/es-set-tostringtag/index.d.ts +++ b/types/codemods/es-set-tostringtag/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/es-shim-unscopables/index.d.ts b/types/codemods/es-shim-unscopables/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/es-shim-unscopables/index.d.ts +++ b/types/codemods/es-shim-unscopables/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/es-string-html-methods/index.d.ts b/types/codemods/es-string-html-methods/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/es-string-html-methods/index.d.ts +++ b/types/codemods/es-string-html-methods/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/filter-array/index.d.ts b/types/codemods/filter-array/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/filter-array/index.d.ts +++ b/types/codemods/filter-array/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/for-each/index.d.ts b/types/codemods/for-each/index.d.ts index 4597a69..2d653d1 100644 --- a/types/codemods/for-each/index.d.ts +++ b/types/codemods/for-each/index.d.ts @@ -12,6 +12,8 @@ * @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; diff --git a/types/codemods/function-bind/index.d.ts b/types/codemods/function-bind/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/function-bind/index.d.ts +++ b/types/codemods/function-bind/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/function.prototype.name/index.d.ts b/types/codemods/function.prototype.name/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/function.prototype.name/index.d.ts +++ b/types/codemods/function.prototype.name/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/functions-have-names/index.d.ts b/types/codemods/functions-have-names/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/functions-have-names/index.d.ts +++ b/types/codemods/functions-have-names/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/get-symbol-description/index.d.ts b/types/codemods/get-symbol-description/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/get-symbol-description/index.d.ts +++ b/types/codemods/get-symbol-description/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/global/index.d.ts b/types/codemods/global/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/global/index.d.ts +++ b/types/codemods/global/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/gopd/index.d.ts b/types/codemods/gopd/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/gopd/index.d.ts +++ b/types/codemods/gopd/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/has-own-prop/index.d.ts b/types/codemods/has-own-prop/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/has-own-prop/index.d.ts +++ b/types/codemods/has-own-prop/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/has-proto/index.d.ts b/types/codemods/has-proto/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/has-proto/index.d.ts +++ b/types/codemods/has-proto/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/has-symbols/index.d.ts b/types/codemods/has-symbols/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/has-symbols/index.d.ts +++ b/types/codemods/has-symbols/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/has-tostringtag/index.d.ts b/types/codemods/has-tostringtag/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/has-tostringtag/index.d.ts +++ b/types/codemods/has-tostringtag/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/has/index.d.ts b/types/codemods/has/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/has/index.d.ts +++ b/types/codemods/has/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/hasown/index.d.ts b/types/codemods/hasown/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/hasown/index.d.ts +++ b/types/codemods/hasown/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/index-of/index.d.ts b/types/codemods/index-of/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/index-of/index.d.ts +++ b/types/codemods/index-of/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-array-buffer/index.d.ts b/types/codemods/is-array-buffer/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-array-buffer/index.d.ts +++ b/types/codemods/is-array-buffer/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-boolean-object/index.d.ts b/types/codemods/is-boolean-object/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-boolean-object/index.d.ts +++ b/types/codemods/is-boolean-object/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-builtin-module/index.d.ts b/types/codemods/is-builtin-module/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-builtin-module/index.d.ts +++ b/types/codemods/is-builtin-module/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-date-object/index.d.ts b/types/codemods/is-date-object/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-date-object/index.d.ts +++ b/types/codemods/is-date-object/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-even/index.d.ts b/types/codemods/is-even/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-even/index.d.ts +++ b/types/codemods/is-even/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-nan/index.d.ts b/types/codemods/is-nan/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-nan/index.d.ts +++ b/types/codemods/is-nan/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-negative-zero/index.d.ts b/types/codemods/is-negative-zero/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-negative-zero/index.d.ts +++ b/types/codemods/is-negative-zero/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-npm/index.d.ts b/types/codemods/is-npm/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-npm/index.d.ts +++ b/types/codemods/is-npm/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-number-object/index.d.ts b/types/codemods/is-number-object/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-number-object/index.d.ts +++ b/types/codemods/is-number-object/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-number/index.d.ts b/types/codemods/is-number/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-number/index.d.ts +++ b/types/codemods/is-number/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-odd/index.d.ts b/types/codemods/is-odd/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-odd/index.d.ts +++ b/types/codemods/is-odd/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-plain-object/index.d.ts b/types/codemods/is-plain-object/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-plain-object/index.d.ts +++ b/types/codemods/is-plain-object/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-primitive/index.d.ts b/types/codemods/is-primitive/index.d.ts index 4df9f9f..eaa52b1 100644 --- a/types/codemods/is-primitive/index.d.ts +++ b/types/codemods/is-primitive/index.d.ts @@ -3,5 +3,5 @@ * @returns {Codemod} */ export default function _default(options?: CodemodOptions | undefined): Codemod; -import type { CodemodOptions } from "../../types.js"; -import type { Codemod } from "../../types.js"; +import type { CodemodOptions } from '../../types.js'; +import type { Codemod } from '../../types.js'; diff --git a/types/codemods/is-regexp/index.d.ts b/types/codemods/is-regexp/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-regexp/index.d.ts +++ b/types/codemods/is-regexp/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-string/index.d.ts b/types/codemods/is-string/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-string/index.d.ts +++ b/types/codemods/is-string/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-travis/index.d.ts b/types/codemods/is-travis/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-travis/index.d.ts +++ b/types/codemods/is-travis/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/is-whitespace/index.d.ts b/types/codemods/is-whitespace/index.d.ts index 9195fbe..0c02652 100644 --- a/types/codemods/is-whitespace/index.d.ts +++ b/types/codemods/is-whitespace/index.d.ts @@ -11,6 +11,8 @@ * @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; diff --git a/types/codemods/is-windows/index.d.ts b/types/codemods/is-windows/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/is-windows/index.d.ts +++ b/types/codemods/is-windows/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/last-index-of/index.d.ts b/types/codemods/last-index-of/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/last-index-of/index.d.ts +++ b/types/codemods/last-index-of/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/left-pad/index.d.ts b/types/codemods/left-pad/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/left-pad/index.d.ts +++ b/types/codemods/left-pad/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.acosh/index.d.ts b/types/codemods/math.acosh/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.acosh/index.d.ts +++ b/types/codemods/math.acosh/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.atanh/index.d.ts b/types/codemods/math.atanh/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.atanh/index.d.ts +++ b/types/codemods/math.atanh/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.cbrt/index.d.ts b/types/codemods/math.cbrt/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.cbrt/index.d.ts +++ b/types/codemods/math.cbrt/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.clz32/index.d.ts b/types/codemods/math.clz32/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.clz32/index.d.ts +++ b/types/codemods/math.clz32/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.f16round/index.d.ts b/types/codemods/math.f16round/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.f16round/index.d.ts +++ b/types/codemods/math.f16round/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.fround/index.d.ts b/types/codemods/math.fround/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.fround/index.d.ts +++ b/types/codemods/math.fround/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.imul/index.d.ts b/types/codemods/math.imul/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.imul/index.d.ts +++ b/types/codemods/math.imul/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.log10/index.d.ts b/types/codemods/math.log10/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.log10/index.d.ts +++ b/types/codemods/math.log10/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.log1p/index.d.ts b/types/codemods/math.log1p/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.log1p/index.d.ts +++ b/types/codemods/math.log1p/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/math.sign/index.d.ts b/types/codemods/math.sign/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/math.sign/index.d.ts +++ b/types/codemods/math.sign/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/md5/index.d.ts b/types/codemods/md5/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/md5/index.d.ts +++ b/types/codemods/md5/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/number.isfinite/index.d.ts b/types/codemods/number.isfinite/index.d.ts index 4df9f9f..eaa52b1 100644 --- a/types/codemods/number.isfinite/index.d.ts +++ b/types/codemods/number.isfinite/index.d.ts @@ -3,5 +3,5 @@ * @returns {Codemod} */ export default function _default(options?: CodemodOptions | undefined): Codemod; -import type { CodemodOptions } from "../../types.js"; -import type { Codemod } from "../../types.js"; +import type { CodemodOptions } from '../../types.js'; +import type { Codemod } from '../../types.js'; diff --git a/types/codemods/number.isinteger/index.d.ts b/types/codemods/number.isinteger/index.d.ts index 4df9f9f..eaa52b1 100644 --- a/types/codemods/number.isinteger/index.d.ts +++ b/types/codemods/number.isinteger/index.d.ts @@ -3,5 +3,5 @@ * @returns {Codemod} */ export default function _default(options?: CodemodOptions | undefined): Codemod; -import type { CodemodOptions } from "../../types.js"; -import type { Codemod } from "../../types.js"; +import type { CodemodOptions } from '../../types.js'; +import type { Codemod } from '../../types.js'; diff --git a/types/codemods/number.isnan/index.d.ts b/types/codemods/number.isnan/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/number.isnan/index.d.ts +++ b/types/codemods/number.isnan/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/number.issafeinteger/index.d.ts b/types/codemods/number.issafeinteger/index.d.ts index 4df9f9f..eaa52b1 100644 --- a/types/codemods/number.issafeinteger/index.d.ts +++ b/types/codemods/number.issafeinteger/index.d.ts @@ -3,5 +3,5 @@ * @returns {Codemod} */ export default function _default(options?: CodemodOptions | undefined): Codemod; -import type { CodemodOptions } from "../../types.js"; -import type { Codemod } from "../../types.js"; +import type { CodemodOptions } from '../../types.js'; +import type { Codemod } from '../../types.js'; diff --git a/types/codemods/number.parsefloat/index.d.ts b/types/codemods/number.parsefloat/index.d.ts index 4df9f9f..eaa52b1 100644 --- a/types/codemods/number.parsefloat/index.d.ts +++ b/types/codemods/number.parsefloat/index.d.ts @@ -3,5 +3,5 @@ * @returns {Codemod} */ export default function _default(options?: CodemodOptions | undefined): Codemod; -import type { CodemodOptions } from "../../types.js"; -import type { Codemod } from "../../types.js"; +import type { CodemodOptions } from '../../types.js'; +import type { Codemod } from '../../types.js'; diff --git a/types/codemods/number.parseint/index.d.ts b/types/codemods/number.parseint/index.d.ts index 4df9f9f..eaa52b1 100644 --- a/types/codemods/number.parseint/index.d.ts +++ b/types/codemods/number.parseint/index.d.ts @@ -3,5 +3,5 @@ * @returns {Codemod} */ export default function _default(options?: CodemodOptions | undefined): Codemod; -import type { CodemodOptions } from "../../types.js"; -import type { Codemod } from "../../types.js"; +import type { CodemodOptions } from '../../types.js'; +import type { Codemod } from '../../types.js'; diff --git a/types/codemods/number.prototype.toexponential/index.d.ts b/types/codemods/number.prototype.toexponential/index.d.ts index 4df9f9f..eaa52b1 100644 --- a/types/codemods/number.prototype.toexponential/index.d.ts +++ b/types/codemods/number.prototype.toexponential/index.d.ts @@ -3,5 +3,5 @@ * @returns {Codemod} */ export default function _default(options?: CodemodOptions | undefined): Codemod; -import type { CodemodOptions } from "../../types.js"; -import type { Codemod } from "../../types.js"; +import type { CodemodOptions } from '../../types.js'; +import type { Codemod } from '../../types.js'; diff --git a/types/codemods/object-assign/index.d.ts b/types/codemods/object-assign/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object-assign/index.d.ts +++ b/types/codemods/object-assign/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object-is/index.d.ts b/types/codemods/object-is/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object-is/index.d.ts +++ b/types/codemods/object-is/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object-keys/index.d.ts b/types/codemods/object-keys/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object-keys/index.d.ts +++ b/types/codemods/object-keys/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object.defineproperties/index.d.ts b/types/codemods/object.defineproperties/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object.defineproperties/index.d.ts +++ b/types/codemods/object.defineproperties/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object.entries/index.d.ts b/types/codemods/object.entries/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object.entries/index.d.ts +++ b/types/codemods/object.entries/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object.fromentries/index.d.ts b/types/codemods/object.fromentries/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object.fromentries/index.d.ts +++ b/types/codemods/object.fromentries/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object.getprototypeof/index.d.ts b/types/codemods/object.getprototypeof/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object.getprototypeof/index.d.ts +++ b/types/codemods/object.getprototypeof/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object.hasown/index.d.ts b/types/codemods/object.hasown/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object.hasown/index.d.ts +++ b/types/codemods/object.hasown/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object.keys/index.d.ts b/types/codemods/object.keys/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object.keys/index.d.ts +++ b/types/codemods/object.keys/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/object.values/index.d.ts b/types/codemods/object.values/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/object.values/index.d.ts +++ b/types/codemods/object.values/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/pad-left/index.d.ts b/types/codemods/pad-left/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/pad-left/index.d.ts +++ b/types/codemods/pad-left/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/parseint/index.d.ts b/types/codemods/parseint/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/parseint/index.d.ts +++ b/types/codemods/parseint/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/promise.allsettled/index.d.ts b/types/codemods/promise.allsettled/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/promise.allsettled/index.d.ts +++ b/types/codemods/promise.allsettled/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/promise.any/index.d.ts b/types/codemods/promise.any/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/promise.any/index.d.ts +++ b/types/codemods/promise.any/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/promise.prototype.finally/index.d.ts b/types/codemods/promise.prototype.finally/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/promise.prototype.finally/index.d.ts +++ b/types/codemods/promise.prototype.finally/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/reflect.getprototypeof/index.d.ts b/types/codemods/reflect.getprototypeof/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/reflect.getprototypeof/index.d.ts +++ b/types/codemods/reflect.getprototypeof/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/reflect.ownkeys/index.d.ts b/types/codemods/reflect.ownkeys/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/reflect.ownkeys/index.d.ts +++ b/types/codemods/reflect.ownkeys/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/regexp.prototype.flags/index.d.ts b/types/codemods/regexp.prototype.flags/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/regexp.prototype.flags/index.d.ts +++ b/types/codemods/regexp.prototype.flags/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/replaceImport.d.ts b/types/codemods/replaceImport.d.ts index dd21e32..5bfc584 100644 --- a/types/codemods/replaceImport.d.ts +++ b/types/codemods/replaceImport.d.ts @@ -13,9 +13,14 @@ * @param {Module} importModule * @param {Module} replacementModule */ -export function replaceImport(j: import("jscodeshift/src/core.js").JSCodeshift, root: import("jscodeshift").Collection, importModule: Module, replacementModule: Module): boolean; +export function replaceImport( + j: import('jscodeshift/src/core.js').JSCodeshift, + root: import('jscodeshift').Collection, + importModule: Module, + replacementModule: Module, +): boolean; export type Module = { - moduleName: string; - importName: string; - cjsNamespace: boolean | null; + moduleName: string; + importName: string; + cjsNamespace: boolean | null; }; diff --git a/types/codemods/setprototypeof/index.d.ts b/types/codemods/setprototypeof/index.d.ts index 9dcfef7..9ff4202 100644 --- a/types/codemods/setprototypeof/index.d.ts +++ b/types/codemods/setprototypeof/index.d.ts @@ -6,6 +6,8 @@ * @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; diff --git a/types/codemods/shared.d.ts b/types/codemods/shared.d.ts index 4001023..a435c0a 100644 --- a/types/codemods/shared.d.ts +++ b/types/codemods/shared.d.ts @@ -12,14 +12,22 @@ * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * @returns {RemoveImport} */ -export function removeImport(name: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): RemoveImport; +export function removeImport( + name: string, + root: import('jscodeshift').Collection, + j: import('jscodeshift').JSCodeshift, +): RemoveImport; /** * @param {string} code - code to insert after the last import * @param {import("jscodeshift").Collection} root - jscodeshift tree of the file containing the import * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * */ -export function insertAfterImports(code: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): void; +export function insertAfterImports( + code: string, + root: import('jscodeshift').Collection, + j: import('jscodeshift').JSCodeshift, +): void; /** * Analyzes an `import` or `require` statement to detect which names are being * imported and what identifiers is the developer assigning them to. Returns a @@ -41,9 +49,13 @@ export function insertAfterImports(code: string, root: import("jscodeshift").Col * @param {import("jscodeshift").Collection} root - jcodeshift tree of the file containing the import * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance */ -export function getImportIdentifierMap(packageName: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): Record & { - [DEFAULT_IMPORT]?: string; - [NAMESPACE_IMPORT]?: string; +export function getImportIdentifierMap( + packageName: string, + root: import('jscodeshift').Collection, + j: import('jscodeshift').JSCodeshift, +): Record & { + [DEFAULT_IMPORT]?: string; + [NAMESPACE_IMPORT]?: string; }; /** * Replaces import declarations that use default specifiers @@ -60,7 +72,13 @@ export function getImportIdentifierMap(packageName: string, root: import("jscode * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * @returns {ReplaceDefaultImport} */ -export function replaceDefaultImport(name: string, newSpecifier: string, newName: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): ReplaceDefaultImport; +export function replaceDefaultImport( + name: string, + newSpecifier: string, + newName: string, + root: import('jscodeshift').Collection, + j: import('jscodeshift').JSCodeshift, +): ReplaceDefaultImport; /** * @param {string} method - e.g. `array.prototype.flatMap` * @param {string} identifierName - e.g. `flatMap` @@ -68,7 +86,12 @@ export function replaceDefaultImport(name: string, newSpecifier: string, newName * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * @returns {boolean} - true if the method was found and transformed, false otherwise */ -export function transformArrayMethod(method: string, identifierName: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): boolean; +export function transformArrayMethod( + method: string, + identifierName: string, + root: import('jscodeshift').Collection, + j: import('jscodeshift').JSCodeshift, +): boolean; /** * @param {import("jscodeshift").ASTPath} path - jscodeshift path * @param {string} instanceName - e.g. `Uint8Array` @@ -76,7 +99,12 @@ export function transformArrayMethod(method: string, identifierName: string, roo * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * @returns */ -export function transformInstanceProperty(path: import("jscodeshift").ASTPath, instanceName: string, propertyName: string, j: import("jscodeshift").JSCodeshift): boolean; +export function transformInstanceProperty( + path: import('jscodeshift').ASTPath, + instanceName: string, + propertyName: string, + j: import('jscodeshift').JSCodeshift, +): boolean; /** * @param {import("jscodeshift").ASTPath} path - jscodeshift path * @param {string} instanceName - e.g. `Uint8Array` @@ -84,7 +112,12 @@ export function transformInstanceProperty(path: import("jscodeshift").ASTPath, instanceName: string, methodName: string, j: import("jscodeshift").JSCodeshift): boolean; +export function transformInstanceMethod( + path: import('jscodeshift').ASTPath, + instanceName: string, + methodName: string, + j: import('jscodeshift').JSCodeshift, +): boolean; /** * @param {string} method - e.g. `array.prototype.flatMap` * @param {string} identifierName - e.g. `flatMap` @@ -92,7 +125,12 @@ export function transformInstanceMethod(path: import("jscodeshift").ASTPath Codemod>} */ export const codemods: Record Codemod>; -export type Codemod = import("./types.js").Codemod; -export type CodemodOptions = import("./types.js").CodemodOptions; +export type Codemod = import('./types.js').Codemod; +export type CodemodOptions = import('./types.js').CodemodOptions; diff --git a/types/types.d.ts b/types/types.d.ts index fc52b39..c48fcec 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -1,16 +1,15 @@ -export interface CodemodOptions { -} +export interface CodemodOptions {} export interface File { - source: string; - filename: string; + source: string; + filename: string; } export interface Codemod { - /** - * The name of the codemod should be equal to the name of the package - * you're trying to replace - */ - name: string; - transform: (options: { - file: File; - }) => string | Promise; + /** + * The name of the codemod should be equal to the name of the package + * you're trying to replace + */ + name: string; + transform: (options: { + file: File; + }) => string | Promise; }