diff --git a/package.json b/package.json index f9d07d1..6810d38 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "module-replacements-codemods", - "version": "1.0.3", + "version": "1.0.4", "description": "", "type": "module", "scripts": { diff --git a/types/codemods/abort-controller/index.d.ts b/types/codemods/abort-controller/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/abort-controller/index.d.ts +++ b/types/codemods/abort-controller/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array-buffer-byte-length/index.d.ts b/types/codemods/array-buffer-byte-length/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array-buffer-byte-length/index.d.ts +++ b/types/codemods/array-buffer-byte-length/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array-every/index.d.ts b/types/codemods/array-every/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array-every/index.d.ts +++ b/types/codemods/array-every/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array-includes/index.d.ts b/types/codemods/array-includes/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array-includes/index.d.ts +++ b/types/codemods/array-includes/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array-map/index.d.ts b/types/codemods/array-map/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array-map/index.d.ts +++ b/types/codemods/array-map/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.from/index.d.ts b/types/codemods/array.from/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.from/index.d.ts +++ b/types/codemods/array.from/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.of/index.d.ts b/types/codemods/array.of/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.of/index.d.ts +++ b/types/codemods/array.of/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.at/index.d.ts b/types/codemods/array.prototype.at/index.d.ts index a8f16fb..ac82955 100644 --- a/types/codemods/array.prototype.at/index.d.ts +++ b/types/codemods/array.prototype.at/index.d.ts @@ -13,8 +13,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.concat/index.d.ts b/types/codemods/array.prototype.concat/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.concat/index.d.ts +++ b/types/codemods/array.prototype.concat/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.copywithin/index.d.ts b/types/codemods/array.prototype.copywithin/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.copywithin/index.d.ts +++ b/types/codemods/array.prototype.copywithin/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.entries/index.d.ts b/types/codemods/array.prototype.entries/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.entries/index.d.ts +++ b/types/codemods/array.prototype.entries/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.every/index.d.ts b/types/codemods/array.prototype.every/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.every/index.d.ts +++ b/types/codemods/array.prototype.every/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.filter/index.d.ts b/types/codemods/array.prototype.filter/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.filter/index.d.ts +++ b/types/codemods/array.prototype.filter/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.find/index.d.ts b/types/codemods/array.prototype.find/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.find/index.d.ts +++ b/types/codemods/array.prototype.find/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.findindex/index.d.ts b/types/codemods/array.prototype.findindex/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.findindex/index.d.ts +++ b/types/codemods/array.prototype.findindex/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.findlast/index.d.ts b/types/codemods/array.prototype.findlast/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.findlast/index.d.ts +++ b/types/codemods/array.prototype.findlast/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.findlastindex/index.d.ts b/types/codemods/array.prototype.findlastindex/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.findlastindex/index.d.ts +++ b/types/codemods/array.prototype.findlastindex/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.flat/index.d.ts b/types/codemods/array.prototype.flat/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.flat/index.d.ts +++ b/types/codemods/array.prototype.flat/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.flatmap/index.d.ts b/types/codemods/array.prototype.flatmap/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.flatmap/index.d.ts +++ b/types/codemods/array.prototype.flatmap/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.foreach/index.d.ts b/types/codemods/array.prototype.foreach/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.foreach/index.d.ts +++ b/types/codemods/array.prototype.foreach/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.indexof/index.d.ts b/types/codemods/array.prototype.indexof/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.indexof/index.d.ts +++ b/types/codemods/array.prototype.indexof/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.join/index.d.ts b/types/codemods/array.prototype.join/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.join/index.d.ts +++ b/types/codemods/array.prototype.join/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.keys/index.d.ts b/types/codemods/array.prototype.keys/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.keys/index.d.ts +++ b/types/codemods/array.prototype.keys/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.lastindexof/index.d.ts b/types/codemods/array.prototype.lastindexof/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.lastindexof/index.d.ts +++ b/types/codemods/array.prototype.lastindexof/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.map/index.d.ts b/types/codemods/array.prototype.map/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.map/index.d.ts +++ b/types/codemods/array.prototype.map/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.push/index.d.ts b/types/codemods/array.prototype.push/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.push/index.d.ts +++ b/types/codemods/array.prototype.push/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.reduce/index.d.ts b/types/codemods/array.prototype.reduce/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.reduce/index.d.ts +++ b/types/codemods/array.prototype.reduce/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.reduceright/index.d.ts b/types/codemods/array.prototype.reduceright/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.reduceright/index.d.ts +++ b/types/codemods/array.prototype.reduceright/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.slice/index.d.ts b/types/codemods/array.prototype.slice/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.slice/index.d.ts +++ b/types/codemods/array.prototype.slice/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.some/index.d.ts b/types/codemods/array.prototype.some/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.some/index.d.ts +++ b/types/codemods/array.prototype.some/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.splice/index.d.ts b/types/codemods/array.prototype.splice/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.splice/index.d.ts +++ b/types/codemods/array.prototype.splice/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.toreversed/index.d.ts b/types/codemods/array.prototype.toreversed/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.toreversed/index.d.ts +++ b/types/codemods/array.prototype.toreversed/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.tosorted/index.d.ts b/types/codemods/array.prototype.tosorted/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.tosorted/index.d.ts +++ b/types/codemods/array.prototype.tosorted/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.tospliced/index.d.ts b/types/codemods/array.prototype.tospliced/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.tospliced/index.d.ts +++ b/types/codemods/array.prototype.tospliced/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.unshift/index.d.ts b/types/codemods/array.prototype.unshift/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.unshift/index.d.ts +++ b/types/codemods/array.prototype.unshift/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.values/index.d.ts b/types/codemods/array.prototype.values/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.values/index.d.ts +++ b/types/codemods/array.prototype.values/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/array.prototype.with/index.d.ts b/types/codemods/array.prototype.with/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/array.prototype.with/index.d.ts +++ b/types/codemods/array.prototype.with/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/arraybuffer.prototype.slice/index.d.ts b/types/codemods/arraybuffer.prototype.slice/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/arraybuffer.prototype.slice/index.d.ts +++ b/types/codemods/arraybuffer.prototype.slice/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/chalk/index.d.ts b/types/codemods/chalk/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/chalk/index.d.ts +++ b/types/codemods/chalk/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/clone-regexp/index.d.ts b/types/codemods/clone-regexp/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/clone-regexp/index.d.ts +++ b/types/codemods/clone-regexp/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/concat-map/index.d.ts b/types/codemods/concat-map/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/concat-map/index.d.ts +++ b/types/codemods/concat-map/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/data-view-buffer/index.d.ts b/types/codemods/data-view-buffer/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/data-view-buffer/index.d.ts +++ b/types/codemods/data-view-buffer/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/data-view-byte-length/index.d.ts b/types/codemods/data-view-byte-length/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/data-view-byte-length/index.d.ts +++ b/types/codemods/data-view-byte-length/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/data-view-byte-offset/index.d.ts b/types/codemods/data-view-byte-offset/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/data-view-byte-offset/index.d.ts +++ b/types/codemods/data-view-byte-offset/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/date/index.d.ts b/types/codemods/date/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/date/index.d.ts +++ b/types/codemods/date/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/deep-equal/index.d.ts b/types/codemods/deep-equal/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/deep-equal/index.d.ts +++ b/types/codemods/deep-equal/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/define-properties/index.d.ts b/types/codemods/define-properties/index.d.ts index 0a26201..ac4b2c5 100644 --- a/types/codemods/define-properties/index.d.ts +++ b/types/codemods/define-properties/index.d.ts @@ -2,8 +2,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/error-cause/index.d.ts b/types/codemods/error-cause/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/error-cause/index.d.ts +++ b/types/codemods/error-cause/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/es-aggregate-error/index.d.ts b/types/codemods/es-aggregate-error/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/es-aggregate-error/index.d.ts +++ b/types/codemods/es-aggregate-error/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/es-define-property/index.d.ts b/types/codemods/es-define-property/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/es-define-property/index.d.ts +++ b/types/codemods/es-define-property/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/es-errors/index.d.ts b/types/codemods/es-errors/index.d.ts index 0a26201..ac4b2c5 100644 --- a/types/codemods/es-errors/index.d.ts +++ b/types/codemods/es-errors/index.d.ts @@ -2,8 +2,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/es-get-iterator/index.d.ts b/types/codemods/es-get-iterator/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/es-get-iterator/index.d.ts +++ b/types/codemods/es-get-iterator/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/es-set-tostringtag/index.d.ts b/types/codemods/es-set-tostringtag/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/es-set-tostringtag/index.d.ts +++ b/types/codemods/es-set-tostringtag/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/es-shim-unscopables/index.d.ts b/types/codemods/es-shim-unscopables/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/es-shim-unscopables/index.d.ts +++ b/types/codemods/es-shim-unscopables/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/es-string-html-methods/index.d.ts b/types/codemods/es-string-html-methods/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/es-string-html-methods/index.d.ts +++ b/types/codemods/es-string-html-methods/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/filter-array/index.d.ts b/types/codemods/filter-array/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/filter-array/index.d.ts +++ b/types/codemods/filter-array/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/for-each/index.d.ts b/types/codemods/for-each/index.d.ts index 2d653d1..4597a69 100644 --- a/types/codemods/for-each/index.d.ts +++ b/types/codemods/for-each/index.d.ts @@ -12,8 +12,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/function-bind/index.d.ts b/types/codemods/function-bind/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/function-bind/index.d.ts +++ b/types/codemods/function-bind/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/function.prototype.name/index.d.ts b/types/codemods/function.prototype.name/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/function.prototype.name/index.d.ts +++ b/types/codemods/function.prototype.name/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/functions-have-names/index.d.ts b/types/codemods/functions-have-names/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/functions-have-names/index.d.ts +++ b/types/codemods/functions-have-names/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/get-symbol-description/index.d.ts b/types/codemods/get-symbol-description/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/get-symbol-description/index.d.ts +++ b/types/codemods/get-symbol-description/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/global/index.d.ts b/types/codemods/global/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/global/index.d.ts +++ b/types/codemods/global/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/gopd/index.d.ts b/types/codemods/gopd/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/gopd/index.d.ts +++ b/types/codemods/gopd/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/has-own-prop/index.d.ts b/types/codemods/has-own-prop/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/has-own-prop/index.d.ts +++ b/types/codemods/has-own-prop/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/has-proto/index.d.ts b/types/codemods/has-proto/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/has-proto/index.d.ts +++ b/types/codemods/has-proto/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/has-symbols/index.d.ts b/types/codemods/has-symbols/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/has-symbols/index.d.ts +++ b/types/codemods/has-symbols/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/has-tostringtag/index.d.ts b/types/codemods/has-tostringtag/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/has-tostringtag/index.d.ts +++ b/types/codemods/has-tostringtag/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/has/index.d.ts b/types/codemods/has/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/has/index.d.ts +++ b/types/codemods/has/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/hasown/index.d.ts b/types/codemods/hasown/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/hasown/index.d.ts +++ b/types/codemods/hasown/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/index-of/index.d.ts b/types/codemods/index-of/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/index-of/index.d.ts +++ b/types/codemods/index-of/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-array-buffer/index.d.ts b/types/codemods/is-array-buffer/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-array-buffer/index.d.ts +++ b/types/codemods/is-array-buffer/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-boolean-object/index.d.ts b/types/codemods/is-boolean-object/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-boolean-object/index.d.ts +++ b/types/codemods/is-boolean-object/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-builtin-module/index.d.ts b/types/codemods/is-builtin-module/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-builtin-module/index.d.ts +++ b/types/codemods/is-builtin-module/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-date-object/index.d.ts b/types/codemods/is-date-object/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-date-object/index.d.ts +++ b/types/codemods/is-date-object/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-even/index.d.ts b/types/codemods/is-even/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-even/index.d.ts +++ b/types/codemods/is-even/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-nan/index.d.ts b/types/codemods/is-nan/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-nan/index.d.ts +++ b/types/codemods/is-nan/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-negative-zero/index.d.ts b/types/codemods/is-negative-zero/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-negative-zero/index.d.ts +++ b/types/codemods/is-negative-zero/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-npm/index.d.ts b/types/codemods/is-npm/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-npm/index.d.ts +++ b/types/codemods/is-npm/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-number-object/index.d.ts b/types/codemods/is-number-object/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-number-object/index.d.ts +++ b/types/codemods/is-number-object/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-number/index.d.ts b/types/codemods/is-number/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-number/index.d.ts +++ b/types/codemods/is-number/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-odd/index.d.ts b/types/codemods/is-odd/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-odd/index.d.ts +++ b/types/codemods/is-odd/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-plain-object/index.d.ts b/types/codemods/is-plain-object/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-plain-object/index.d.ts +++ b/types/codemods/is-plain-object/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-primitive/index.d.ts b/types/codemods/is-primitive/index.d.ts index eaa52b1..4df9f9f 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 9ff4202..9dcfef7 100644 --- a/types/codemods/is-regexp/index.d.ts +++ b/types/codemods/is-regexp/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-string/index.d.ts b/types/codemods/is-string/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-string/index.d.ts +++ b/types/codemods/is-string/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-travis/index.d.ts b/types/codemods/is-travis/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-travis/index.d.ts +++ b/types/codemods/is-travis/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-whitespace/index.d.ts b/types/codemods/is-whitespace/index.d.ts index 0c02652..9195fbe 100644 --- a/types/codemods/is-whitespace/index.d.ts +++ b/types/codemods/is-whitespace/index.d.ts @@ -11,8 +11,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/is-windows/index.d.ts b/types/codemods/is-windows/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/is-windows/index.d.ts +++ b/types/codemods/is-windows/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/last-index-of/index.d.ts b/types/codemods/last-index-of/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/last-index-of/index.d.ts +++ b/types/codemods/last-index-of/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/left-pad/index.d.ts b/types/codemods/left-pad/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/left-pad/index.d.ts +++ b/types/codemods/left-pad/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.acosh/index.d.ts b/types/codemods/math.acosh/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.acosh/index.d.ts +++ b/types/codemods/math.acosh/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.atanh/index.d.ts b/types/codemods/math.atanh/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.atanh/index.d.ts +++ b/types/codemods/math.atanh/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.cbrt/index.d.ts b/types/codemods/math.cbrt/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.cbrt/index.d.ts +++ b/types/codemods/math.cbrt/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.clz32/index.d.ts b/types/codemods/math.clz32/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.clz32/index.d.ts +++ b/types/codemods/math.clz32/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.f16round/index.d.ts b/types/codemods/math.f16round/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.f16round/index.d.ts +++ b/types/codemods/math.f16round/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.fround/index.d.ts b/types/codemods/math.fround/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.fround/index.d.ts +++ b/types/codemods/math.fround/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.imul/index.d.ts b/types/codemods/math.imul/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.imul/index.d.ts +++ b/types/codemods/math.imul/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.log10/index.d.ts b/types/codemods/math.log10/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.log10/index.d.ts +++ b/types/codemods/math.log10/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.log1p/index.d.ts b/types/codemods/math.log1p/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.log1p/index.d.ts +++ b/types/codemods/math.log1p/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/math.sign/index.d.ts b/types/codemods/math.sign/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/math.sign/index.d.ts +++ b/types/codemods/math.sign/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/md5/index.d.ts b/types/codemods/md5/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/md5/index.d.ts +++ b/types/codemods/md5/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/number.isfinite/index.d.ts b/types/codemods/number.isfinite/index.d.ts index eaa52b1..4df9f9f 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 eaa52b1..4df9f9f 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 9ff4202..9dcfef7 100644 --- a/types/codemods/number.isnan/index.d.ts +++ b/types/codemods/number.isnan/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/number.issafeinteger/index.d.ts b/types/codemods/number.issafeinteger/index.d.ts index eaa52b1..4df9f9f 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 eaa52b1..4df9f9f 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 eaa52b1..4df9f9f 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 eaa52b1..4df9f9f 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 9ff4202..9dcfef7 100644 --- a/types/codemods/object-assign/index.d.ts +++ b/types/codemods/object-assign/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object-is/index.d.ts b/types/codemods/object-is/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object-is/index.d.ts +++ b/types/codemods/object-is/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object-keys/index.d.ts b/types/codemods/object-keys/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object-keys/index.d.ts +++ b/types/codemods/object-keys/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object.defineproperties/index.d.ts b/types/codemods/object.defineproperties/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object.defineproperties/index.d.ts +++ b/types/codemods/object.defineproperties/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object.entries/index.d.ts b/types/codemods/object.entries/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object.entries/index.d.ts +++ b/types/codemods/object.entries/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object.fromentries/index.d.ts b/types/codemods/object.fromentries/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object.fromentries/index.d.ts +++ b/types/codemods/object.fromentries/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object.getprototypeof/index.d.ts b/types/codemods/object.getprototypeof/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object.getprototypeof/index.d.ts +++ b/types/codemods/object.getprototypeof/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object.hasown/index.d.ts b/types/codemods/object.hasown/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object.hasown/index.d.ts +++ b/types/codemods/object.hasown/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object.keys/index.d.ts b/types/codemods/object.keys/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object.keys/index.d.ts +++ b/types/codemods/object.keys/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/object.values/index.d.ts b/types/codemods/object.values/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/object.values/index.d.ts +++ b/types/codemods/object.values/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/pad-left/index.d.ts b/types/codemods/pad-left/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/pad-left/index.d.ts +++ b/types/codemods/pad-left/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/parseint/index.d.ts b/types/codemods/parseint/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/parseint/index.d.ts +++ b/types/codemods/parseint/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/promise.allsettled/index.d.ts b/types/codemods/promise.allsettled/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/promise.allsettled/index.d.ts +++ b/types/codemods/promise.allsettled/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/promise.any/index.d.ts b/types/codemods/promise.any/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/promise.any/index.d.ts +++ b/types/codemods/promise.any/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/promise.prototype.finally/index.d.ts b/types/codemods/promise.prototype.finally/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/promise.prototype.finally/index.d.ts +++ b/types/codemods/promise.prototype.finally/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/reflect.getprototypeof/index.d.ts b/types/codemods/reflect.getprototypeof/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/reflect.getprototypeof/index.d.ts +++ b/types/codemods/reflect.getprototypeof/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/reflect.ownkeys/index.d.ts b/types/codemods/reflect.ownkeys/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/reflect.ownkeys/index.d.ts +++ b/types/codemods/reflect.ownkeys/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/regexp.prototype.flags/index.d.ts b/types/codemods/regexp.prototype.flags/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/regexp.prototype.flags/index.d.ts +++ b/types/codemods/regexp.prototype.flags/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/replaceImport.d.ts b/types/codemods/replaceImport.d.ts index 5bfc584..dd21e32 100644 --- a/types/codemods/replaceImport.d.ts +++ b/types/codemods/replaceImport.d.ts @@ -13,14 +13,9 @@ * @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 9ff4202..9dcfef7 100644 --- a/types/codemods/setprototypeof/index.d.ts +++ b/types/codemods/setprototypeof/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/shared.d.ts b/types/codemods/shared.d.ts index 2ecd882..4001023 100644 --- a/types/codemods/shared.d.ts +++ b/types/codemods/shared.d.ts @@ -2,6 +2,7 @@ * type definition for return type object * @typedef {Object} RemoveImport * @property {string} identifier - the name of the module as it was imported or required. for example, `keys` in `import keys from 'object-keys'` + * @property {boolean} dirtyFlag - whether imports were removed or not * @typedef {Object} ReplaceDefaultImport * @property {string} identifier - the name of the module as it was imported or required. for example, `keys` in `import keys from 'object-keys'` */ @@ -11,22 +12,14 @@ * @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 @@ -48,13 +41,9 @@ export function insertAfterImports( * @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 @@ -71,13 +60,7 @@ export function getImportIdentifierMap( * @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` @@ -85,12 +68,7 @@ export function replaceDefaultImport( * @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` @@ -98,12 +76,7 @@ export function transformArrayMethod( * @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` @@ -111,12 +84,7 @@ export function transformInstanceProperty( * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * @returns */ -export function transformInstanceMethod( - 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` @@ -124,12 +92,7 @@ export function transformInstanceMethod( * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * @returns {boolean} - true if the method was found and transformed, false otherwise */ -export function transformStringMethod( - method: string, - identifierName: string, - root: import('jscodeshift').Collection, - j: import('jscodeshift').JSCodeshift, -): boolean; +export function transformStringMethod(method: string, identifierName: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): boolean; /** * @param {string} importName - e.g. `math.acosh/polyfill` * @param {string} methodName - e.g. `acosh` @@ -137,47 +100,28 @@ export function transformStringMethod( * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance * @returns {boolean} - true if the method was found and transformed, false otherwise */ -export function transformMathPolyfill( - importName: string, - methodName: string, - root: import('jscodeshift').Collection, - j: import('jscodeshift').JSCodeshift, -): boolean; +export function transformMathPolyfill(importName: string, methodName: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): boolean; /** * @param {string} importName = e.g., `define-properties` * @param {string} identifier = e.g., `supportsDescriptors` * @param {import("jscodeshift").Collection} root * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance */ -export function getVariableExpressionHasIdentifier( - importName: string, - identifier: string, - root: import('jscodeshift').Collection, - j: import('jscodeshift').JSCodeshift, -): boolean; +export function getVariableExpressionHasIdentifier(importName: string, identifier: string, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): boolean; /** * @param {string} importName = e.g., `define-properties` * @param {string | boolean | null | number | RegExp} value = e.g., true or "string value" * @param {import("jscodeshift").Collection} root * @param {import("jscodeshift").JSCodeshift} j - jscodeshift instance */ -export function replaceRequireMemberExpression( - importName: string, - value: string | boolean | null | number | RegExp, - root: import('jscodeshift').Collection, - j: import('jscodeshift').JSCodeshift, -): boolean; +export function replaceRequireMemberExpression(importName: string, value: string | boolean | null | number | RegExp, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): boolean; /** * * @param {number} line * @param {import("jscodeshift").Collection} root * @param {import("jscodeshift").JSCodeshift} j */ -export function getAncestorOnLine( - line: number, - root: import('jscodeshift').Collection, - j: import('jscodeshift').JSCodeshift, -): any; +export function getAncestorOnLine(line: number, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): any; /** * * @param {import("jscodeshift").CommentBlock} comment @@ -185,29 +129,28 @@ export function getAncestorOnLine( * @param {import("jscodeshift").Collection} root * @param {import("jscodeshift").JSCodeshift} j */ -export function insertCommentAboveNode( - comment: import('jscodeshift').CommentBlock, - startLine: number, - root: import('jscodeshift').Collection, - j: import('jscodeshift').JSCodeshift, -): void; +export function insertCommentAboveNode(comment: import("jscodeshift").CommentBlock, startLine: number, root: import("jscodeshift").Collection, j: import("jscodeshift").JSCodeshift): void; export const DEFAULT_IMPORT: unique symbol; export const NAMESPACE_IMPORT: unique symbol; /** * type definition for return type object */ export type RemoveImport = { - /** - * - the name of the module as it was imported or required. for example, `keys` in `import keys from 'object-keys'` - */ - identifier: string; + /** + * - the name of the module as it was imported or required. for example, `keys` in `import keys from 'object-keys'` + */ + identifier: string; + /** + * - whether imports were removed or not + */ + dirtyFlag: boolean; }; /** * type definition for return type object */ export type ReplaceDefaultImport = { - /** - * - the name of the module as it was imported or required. for example, `keys` in `import keys from 'object-keys'` - */ - identifier: string; + /** + * - the name of the module as it was imported or required. for example, `keys` in `import keys from 'object-keys'` + */ + identifier: string; }; diff --git a/types/codemods/split-lines/index.d.ts b/types/codemods/split-lines/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/split-lines/index.d.ts +++ b/types/codemods/split-lines/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.at/index.d.ts b/types/codemods/string.prototype.at/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.at/index.d.ts +++ b/types/codemods/string.prototype.at/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.lastindexof/index.d.ts b/types/codemods/string.prototype.lastindexof/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.lastindexof/index.d.ts +++ b/types/codemods/string.prototype.lastindexof/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.matchall/index.d.ts b/types/codemods/string.prototype.matchall/index.d.ts index 2d653d1..4597a69 100644 --- a/types/codemods/string.prototype.matchall/index.d.ts +++ b/types/codemods/string.prototype.matchall/index.d.ts @@ -12,8 +12,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.padend/index.d.ts b/types/codemods/string.prototype.padend/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.padend/index.d.ts +++ b/types/codemods/string.prototype.padend/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.padleft/index.d.ts b/types/codemods/string.prototype.padleft/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.padleft/index.d.ts +++ b/types/codemods/string.prototype.padleft/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.padright/index.d.ts b/types/codemods/string.prototype.padright/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.padright/index.d.ts +++ b/types/codemods/string.prototype.padright/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.padstart/index.d.ts b/types/codemods/string.prototype.padstart/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.padstart/index.d.ts +++ b/types/codemods/string.prototype.padstart/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.repeat/index.d.ts b/types/codemods/string.prototype.repeat/index.d.ts index 2d653d1..4597a69 100644 --- a/types/codemods/string.prototype.repeat/index.d.ts +++ b/types/codemods/string.prototype.repeat/index.d.ts @@ -12,8 +12,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.replaceall/index.d.ts b/types/codemods/string.prototype.replaceall/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.replaceall/index.d.ts +++ b/types/codemods/string.prototype.replaceall/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.split/index.d.ts b/types/codemods/string.prototype.split/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.split/index.d.ts +++ b/types/codemods/string.prototype.split/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.substr/index.d.ts b/types/codemods/string.prototype.substr/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.substr/index.d.ts +++ b/types/codemods/string.prototype.substr/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.trim/index.d.ts b/types/codemods/string.prototype.trim/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.trim/index.d.ts +++ b/types/codemods/string.prototype.trim/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.trimend/index.d.ts b/types/codemods/string.prototype.trimend/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.trimend/index.d.ts +++ b/types/codemods/string.prototype.trimend/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.trimleft/index.d.ts b/types/codemods/string.prototype.trimleft/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.trimleft/index.d.ts +++ b/types/codemods/string.prototype.trimleft/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.trimright/index.d.ts b/types/codemods/string.prototype.trimright/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.trimright/index.d.ts +++ b/types/codemods/string.prototype.trimright/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.prototype.trimstart/index.d.ts b/types/codemods/string.prototype.trimstart/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.prototype.trimstart/index.d.ts +++ b/types/codemods/string.prototype.trimstart/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/string.raw/index.d.ts b/types/codemods/string.raw/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/string.raw/index.d.ts +++ b/types/codemods/string.raw/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/symbol.prototype.description/index.d.ts b/types/codemods/symbol.prototype.description/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/symbol.prototype.description/index.d.ts +++ b/types/codemods/symbol.prototype.description/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/traverse/index.d.ts b/types/codemods/traverse/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/traverse/index.d.ts +++ b/types/codemods/traverse/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/typed-array-buffer/index.d.ts b/types/codemods/typed-array-buffer/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/typed-array-buffer/index.d.ts +++ b/types/codemods/typed-array-buffer/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/typed-array-byte-length/index.d.ts b/types/codemods/typed-array-byte-length/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/typed-array-byte-length/index.d.ts +++ b/types/codemods/typed-array-byte-length/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/typed-array-byte-offset/index.d.ts b/types/codemods/typed-array-byte-offset/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/typed-array-byte-offset/index.d.ts +++ b/types/codemods/typed-array-byte-offset/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/typed-array-length/index.d.ts b/types/codemods/typed-array-length/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/typed-array-length/index.d.ts +++ b/types/codemods/typed-array-length/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/typedarray.prototype.slice/index.d.ts b/types/codemods/typedarray.prototype.slice/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/typedarray.prototype.slice/index.d.ts +++ b/types/codemods/typedarray.prototype.slice/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/codemods/xtend/index.d.ts b/types/codemods/xtend/index.d.ts index 9ff4202..9dcfef7 100644 --- a/types/codemods/xtend/index.d.ts +++ b/types/codemods/xtend/index.d.ts @@ -6,8 +6,6 @@ * @param {CodemodOptions} [options] * @returns {Codemod} */ -export default function _default( - options?: import('../../types.js').CodemodOptions | undefined, -): Codemod; -export type Codemod = import('../../types.js').Codemod; -export type CodemodOptions = import('../../types.js').CodemodOptions; +export default function _default(options?: import("../../types.js").CodemodOptions | undefined): Codemod; +export type Codemod = import("../../types.js").Codemod; +export type CodemodOptions = import("../../types.js").CodemodOptions; diff --git a/types/index.d.ts b/types/index.d.ts index aad8fe6..884483c 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -6,5 +6,5 @@ * @type {Record 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 c48fcec..fc52b39 100644 --- a/types/types.d.ts +++ b/types/types.d.ts @@ -1,15 +1,16 @@ -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; }