Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
🔒️ Make some class properties private
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Sep 28, 2021
1 parent aeeceba commit 2bb51da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/controllers/patch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ export interface IPatchApplier {
}

export class PatchBase {
public name: string
public status: number[]
public options: {
protected name: string
protected status: number[]
protected options: {
minimal?: boolean
noIgnore?: boolean
}
Expand Down Expand Up @@ -76,8 +76,8 @@ export class PatchBase {
}

export class ManualPatch extends PatchBase implements IPatchApplier {
public action: 'copy' | 'delete'
public src: string | string[]
private action: 'copy' | 'delete'
private src: string | string[]

constructor(
name: string,
Expand Down Expand Up @@ -163,7 +163,7 @@ export class ManualPatch extends PatchBase implements IPatchApplier {
}

export class PatchFile extends PatchBase implements IPatchApplier {
public src: string
private src: string

constructor(
name: string,
Expand Down

0 comments on commit 2bb51da

Please sign in to comment.