Skip to content

Commit 5af9da7

Browse files
committed
chore(scripts): lint autofix
1 parent e6023be commit 5af9da7

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

scripts/generateClientTypesMap/getClientReqRespTypesMap.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import jscodeshift, {
2-
Identifier,
3-
TSFunctionType,
4-
TSQualifiedName,
5-
TSTypeReference,
2+
type Identifier,
3+
type TSFunctionType,
4+
type TSQualifiedName,
5+
type TSTypeReference,
66
} from "jscodeshift";
77

88
import { getTypesSource } from "./getTypesSource";

scripts/generateClientTypesMap/getClientTypesMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import jscodeshift, { Identifier, TSArrayType, TSTypeLiteral, TSTypeReference } from "jscodeshift";
1+
import jscodeshift, { type Identifier, type TSArrayType, type TSTypeLiteral, type TSTypeReference } from "jscodeshift";
22

33
import { CLIENT_NAMES_MAP, DOCUMENT_CLIENT } from "../../src/transforms/v2-to-v3/config";
44
import { getClientTypesMapWithKeysRemovedFromValues } from "./getClientTypesMapWithKeysRemovedFromValues";

scripts/generateClientTypesMap/getTypesSource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { readFileSync } from "fs";
22
import { join } from "path";
3-
import { JSCodeshift } from "jscodeshift";
3+
import type { JSCodeshift } from "jscodeshift";
44
import { DOCUMENT_CLIENT } from "../../src/transforms/v2-to-v3/config";
55

66
export const getTypesSource = (j: JSCodeshift, clientName: string) => {

scripts/generateNewClientTests/getV3PackageImportEqualsCode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
CLIENT_NAMES,
2+
type CLIENT_NAMES,
33
CLIENT_NAMES_MAP,
44
CLIENT_PACKAGE_NAMES_MAP,
55
} from "../../src/transforms/v2-to-v3/config";

scripts/generateNewClientTests/getV3PackageImportsCode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
CLIENT_NAMES,
2+
type CLIENT_NAMES,
33
CLIENT_NAMES_MAP,
44
CLIENT_PACKAGE_NAMES_MAP,
55
} from "../../src/transforms/v2-to-v3/config";

scripts/generateNewClientTests/getV3PackageRequiresCode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
CLIENT_NAMES,
2+
type CLIENT_NAMES,
33
CLIENT_NAMES_MAP,
44
CLIENT_PACKAGE_NAMES_MAP,
55
} from "../../src/transforms/v2-to-v3/config";

0 commit comments

Comments
 (0)