Make field readonly
This commit is contained in:
parent
cfa7708b57
commit
7a68c971aa
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export type FilterCreator = ((filter: LogFilter, item: LogItem) => LogFilter) |
|
|||
export type LogCallback = (item: LogItem) => unknown;
|
||||
|
||||
export class LogItem {
|
||||
public start: number;
|
||||
public readonly start: number;
|
||||
public logLevel: LogLevel;
|
||||
public error: Error | null;
|
||||
public end: number | null;
|
||||
|
|
Reference in a new issue