From 548871dc2909a42539db7497669f93c54b05f12c Mon Sep 17 00:00:00 2001 From: Starcea Date: Fri, 28 Jun 2024 16:52:14 +0900 Subject: [PATCH] fix: Fetcher.client as readonly --- src/models/Fetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/Fetcher.ts b/src/models/Fetcher.ts index d1722da..283e9db 100644 --- a/src/models/Fetcher.ts +++ b/src/models/Fetcher.ts @@ -1,7 +1,7 @@ import type Comcigan from '../client' export default class Fetcher { - protected client!: Comcigan + protected readonly client!: Comcigan constructor(client: Comcigan) { Object.defineProperty(this, 'client', { value: client, enumerable: false })