Skip to content

Commit 0011d57

Browse files
committed
build: remove deprecated for aliases
1 parent 55df331 commit 0011d57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/gen-connectors.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ export type ConnectorOptions = {
9999
.flatMap((d) =>
100100
d.names.map(
101101
(name, i) =>
102-
`${i === 0 ? "" : `/** @deprecated Alias of ${d.name} */\n `}"${name}": ${d.optionsTName};`,
102+
`${i === 0 ? "" : `/** alias of ${d.name} */\n `}"${name}": ${d.optionsTName};`,
103103
),
104104
)
105105
.join("\n ")}
106106
};
107107
108108
export const connectors = Object.freeze({
109-
${connectors.flatMap((d) => d.names.map((name, i) => `${i === 0 ? "" : `/** @deprecated Alias of ${d.name} */\n `}"${name}": "${d.subpath}"`)).join(",\n ")},
109+
${connectors.flatMap((d) => d.names.map((name, i) => `${i === 0 ? "" : `/** alias of ${d.name} */\n `}"${name}": "${d.subpath}"`)).join(",\n ")},
110110
} as const);
111111
`;
112112

0 commit comments

Comments
 (0)