Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6e7ca8

Browse files
committed
feat: vscode-dev change NlsI18n code style
1 parent 9de74c0 commit f6e7ca8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/vscode-dev/src/gen.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ declare module '@tomjs/vscode' {
116116
type I18nMessageType = ${nslKeys.map(key => `'${key}'`).join(' | ') || 'undefined'};
117117
118118
interface NlsI18n {
119-
t(message: I18nMessageType, ...args: Array<string | number | boolean>): string;
120-
t(message: I18nMessageType, args: Record<string, any>): string;
121-
t(
119+
t: (message: I18nMessageType, ...args: Array<string | number | boolean>) => string;
120+
t: (message: I18nMessageType, args: Record<string, any>) => string;
121+
t: (
122122
...params:
123123
| [message: I18nMessageType, ...args: Array<string | number | boolean>]
124124
| [message: I18nMessageType, args: Record<string, any>]
125-
): string;
125+
) => string;
126126
}
127127
}
128128
`;

0 commit comments

Comments
 (0)