Skip to content

Commit c8cd7f2

Browse files
committed
refactor: set name property to readonly
Signed-off-by: w01fgang <sumin@unix-center.ru>
1 parent f13c1c0 commit c8cd7f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/__tests__/Try.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function successfulFunction(
3636
}
3737

3838
class TestClass {
39-
private name: string;
39+
private readonly name: string;
4040

4141
constructor(name: string) {
4242
this.name = name;

0 commit comments

Comments
 (0)