Skip to content

Commit

Permalink
Begin TypeScript conversion so we have accurately generated types for…
Browse files Browse the repository at this point in the history
… consumers
  • Loading branch information
NullVoxPopuli committed Dec 27, 2023
1 parent 44f009f commit 907b70d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addon/src/helpers/page-title.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-nocheck
import { inject as service } from '@ember/service';
import Helper from '@ember/component/helper';
import { guidFor } from '@ember/object/internals';
Expand Down Expand Up @@ -43,7 +42,7 @@ export default class PageTitle extends Helper<Signature> {
this.tokens.push({ id: this.tokenId });
}

compute(params, _hash) {
compute(params: string[], _hash: PageTitleHelperOptions) {
let hash = {
..._hash,
id: this.tokenId,
Expand Down

0 comments on commit 907b70d

Please sign in to comment.