Skip to content

Commit

Permalink
refactor: use syntax shortcuts
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
Jérôme Benoit committed Feb 11, 2024
1 parent 1253d60 commit b1396a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/charging-station/ChargingStation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,13 @@ export class ChargingStation extends EventEmitter {
public started: boolean
public starting: boolean
public idTagsCache: IdTagsCache
public automaticTransactionGenerator!: AutomaticTransactionGenerator | undefined
public ocppConfiguration!: ChargingStationOcppConfiguration | undefined
public automaticTransactionGenerator?: AutomaticTransactionGenerator
public ocppConfiguration?: ChargingStationOcppConfiguration
public wsConnection: WebSocket | null
public readonly connectors: Map<number, ConnectorStatus>
public readonly evses: Map<number, EvseStatus>
public readonly requests: Map<string, CachedRequest>
public performanceStatistics: PerformanceStatistics | undefined
public performanceStatistics?: PerformanceStatistics
public heartbeatSetInterval?: NodeJS.Timeout
public ocppRequestService!: OCPPRequestService
public bootNotificationRequest?: BootNotificationRequest
Expand All @@ -185,7 +185,7 @@ export class ChargingStation extends EventEmitter {
private configuredSupervisionUrl!: URL
private wsConnectionRetried: boolean
private wsConnectionRetryCount: number
private templateFileWatcher: FSWatcher | undefined
private templateFileWatcher?: FSWatcher
private templateFileHash!: string
private readonly sharedLRUCache: SharedLRUCache
private wsPingSetInterval?: NodeJS.Timeout
Expand Down

0 comments on commit b1396a2

Please sign in to comment.