Skip to content

Commit

Permalink
refactor: make MapperRegistry readonly
Browse files Browse the repository at this point in the history
Co-Authored-By: Tomasz Pluskiewicz <[email protected]>
  • Loading branch information
AlexZeitler and tpluscode committed Nov 18, 2019
1 parent 2d88716 commit c19db52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DefaultMappingStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IMappingStrategy } from './IMappingStrategy'
import { MapperRegistry } from './MapperRegistry'

export class DefaultMappingStrategy implements IMappingStrategy {
public registry: MapperRegistry
public readonly registry: MapperRegistry

public constructor (registry: MapperRegistry) {
this.registry = registry
Expand Down

0 comments on commit c19db52

Please sign in to comment.