Skip to content

Commit

Permalink
fix: add default generic type
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Oct 30, 2020
1 parent 2ca431e commit 4fc75cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/workbench/baseService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventService } from '../eventService';

export abstract class BaseService<S> {
export abstract class BaseService<S = any> {
public abstract getState(): S;
/**
* Subscribe the service event
Expand Down

0 comments on commit 4fc75cf

Please sign in to comment.