Skip to content

Commit 4fc75cf

Browse files
committed
fix: add default generic type
1 parent 2ca431e commit 4fc75cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/workbench/baseService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { EventService } from '../eventService';
22

3-
export abstract class BaseService<S> {
3+
export abstract class BaseService<S = any> {
44
public abstract getState(): S;
55
/**
66
* Subscribe the service event

0 commit comments

Comments
 (0)