Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed Feb 24, 2024
1 parent 2836358 commit 1575b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/support/src/concerns/ConcernsInjector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export default class ConcernsInjector<T = object> implements Injector<T>
this.definePropertyInTarget<T>(target.prototype, CONCERNS, {
get: function() {
// @ts-expect-error This = target instance. TypeScript just doesn't understand context here...
const instance: T & Owner = this;
const instance: T & Owner = this; /* eslint-disable-line @typescript-eslint/no-this-alias */

if (!CONTAINERS_REGISTRY.has(instance)) {
CONTAINERS_REGISTRY.set(instance, new ConcernsContainer(instance, concerns));
Expand Down

0 comments on commit 1575b5e

Please sign in to comment.