fix: Fetcher.client as readonly
This commit is contained in:
parent
bbcd09e349
commit
548871dc29
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import type Comcigan from '../client'
|
import type Comcigan from '../client'
|
||||||
|
|
||||||
export default class Fetcher {
|
export default class Fetcher {
|
||||||
protected client!: Comcigan
|
protected readonly client!: Comcigan
|
||||||
|
|
||||||
constructor(client: Comcigan) {
|
constructor(client: Comcigan) {
|
||||||
Object.defineProperty(this, 'client', { value: client, enumerable: false })
|
Object.defineProperty(this, 'client', { value: client, enumerable: false })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue