Skip to content

Commit 91916f0

Browse files
petermetzkikoncuo
authored andcommitted
chore: linter fixes in supply chain example code
Signed-off-by: Peter Somogyvari <[email protected]>
1 parent 16077d4 commit 91916f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/cactus-example-supply-chain-backend/src/main/typescript/infrastructure/supply-chain-app-dummy-infrastructure.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,23 @@ export class SupplyChainAppDummyInfrastructure {
7070
private _quorumAccount: Account | undefined;
7171
private _besuAccount: Account | undefined;
7272

73-
public get quorumAccount() {
73+
public get quorumAccount(): Account {
7474
if (!this._quorumAccount) {
7575
throw new Error(`Must call deployContracts() first.`);
7676
} else {
7777
return this._quorumAccount;
7878
}
7979
}
8080

81-
public get besuAccount() {
81+
public get besuAccount(): Account {
8282
if (!this._besuAccount) {
8383
throw new Error(`Must call deployContracts() first.`);
8484
} else {
8585
return this._besuAccount;
8686
}
8787
}
8888

89-
public get className() {
89+
public get className(): string {
9090
return SupplyChainAppDummyInfrastructure.CLASS_NAME;
9191
}
9292

0 commit comments

Comments
 (0)