Skip to content

Commit

Permalink
chore: fix types definition for init() method
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChocolatine committed Sep 6, 2021
1 parent 19c639d commit af68751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/services/embedded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getOwner } from '@ember/application'

// eslint-disable-next-line ember/no-classic-classes
const configService = ObjectProxy.extend({
init(...args) {
init(...args: Array<Record<string, unknown>>): void {
this.content = getOwner(this).factoryFor('config:embedded').class
this._super(...args)
},
Expand Down

0 comments on commit af68751

Please sign in to comment.