Skip to content

Commit e4a1dde

Browse files
committed
Remove explicit public keyword
1 parent 27e872c commit e4a1dde

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

src/ui/preact/device_status_component.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ export type DeviceStatusComponentProps = {
2121

2222
class TelemetryData {
2323
constructor(
24-
public readonly lifetime: number = 0,
25-
public readonly uptime: number = 0,
26-
public readonly memoryHeap: number = 0,
27-
public readonly memoryHeapMin: number = 0,
28-
public readonly resetReason: string = "",
29-
public readonly timestamp: number = 0,
24+
readonly lifetime: number = 0,
25+
readonly uptime: number = 0,
26+
readonly memoryHeap: number = 0,
27+
readonly memoryHeapMin: number = 0,
28+
readonly resetReason: string = "",
29+
readonly timestamp: number = 0,
3030
) {}
3131
}
3232

3333
class RegistrationData {
3434
constructor(
35-
public readonly deviceID: string = "",
36-
public readonly toolchainName: string = "",
37-
public readonly toolchainVersion: string = "",
38-
public readonly fwName: string = "",
39-
public readonly fwVersion: string = "",
40-
public readonly fwDescription: string = "",
41-
public readonly productName: string = "",
35+
readonly deviceID: string = "",
36+
readonly toolchainName: string = "",
37+
readonly toolchainVersion: string = "",
38+
readonly fwName: string = "",
39+
readonly fwVersion: string = "",
40+
readonly fwDescription: string = "",
41+
readonly productName: string = "",
4242
) {}
4343
}
4444

0 commit comments

Comments
 (0)