Make return type explicit

This commit is contained in:
RMidhunSuresh 2021-11-11 13:05:12 +05:30
parent cd7dccd804
commit 0f7a78ee25

View file

@ -156,7 +156,7 @@ export class LogItem {
}
}
serialize(filter: LogFilter, parentStartTime: number | null = null, forced: boolean) {
serialize(filter: LogFilter, parentStartTime: number | null = null, forced: boolean): ISerializedItem | null {
if (this._filterCreator) {
try {
filter = this._filterCreator(new LogFilter(filter), this);