Skip to content

Commit 2efafc5

Browse files
committed
refactor(tsconfig): remove "@/*" path mapping
refactor(serviceClient.ts): remove PluginClientConfigType generic type and replace with any refactor(tsconfig): remove "@/*" path mapping
1 parent 996012b commit 2efafc5

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

nodejs/build/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"paths": {
5-
"@/*": ["./src/*"],
65
"*": ["types/*"]
76
},
87
"module": "commonjs",

nodejs/src/service/serviceClient.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ export class ServicesClient<
172172
emitEvents = ServiceEvents,
173173
onReturnableEvents = ServiceReturnableEvents,
174174
emitReturnableEvents = ServiceReturnableEvents,
175-
callableMethods = ServiceCallable,
176-
PluginClientConfigType extends IPluginConfig = any
175+
callableMethods = ServiceCallable
177176
> {
178177
public readonly _pluginName!: string;
179178
public readonly initBeforePlugins?: Array<string>;
@@ -188,7 +187,7 @@ export class ServicesClient<
188187
onReturnableEvents,
189188
emitReturnableEvents,
190189
callableMethods,
191-
PluginClientConfigType
190+
any
192191
>;
193192
protected async _register(): Promise<void> {
194193
// We must add the inits/runs list to the referenced service in order to change the init and run order
@@ -211,7 +210,7 @@ export class ServicesClient<
211210
onReturnableEvents,
212211
emitReturnableEvents,
213212
callableMethods,
214-
PluginClientConfigType
213+
any
215214
>(this._pluginName);
216215
}
217216
}

nodejs/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"paths": {
5-
"@/*": ["./src/*"],
65
"*": ["types/*"]
76
},
87
"module": "commonjs",

0 commit comments

Comments
 (0)