Skip to content

Commit

Permalink
Merge pull request #672 from Turbo87/types
Browse files Browse the repository at this point in the history
chore(deps): update @types dependencies
  • Loading branch information
Turbo87 authored Nov 22, 2021
2 parents 1b333ac + 2444564 commit 143a8ee
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 126 deletions.
2 changes: 1 addition & 1 deletion addon-test-support/test-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ export default class TestLink extends Link {
retry() {
return this;
}
};
} as any as Transition;
}
}
7 changes: 6 additions & 1 deletion addon/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,12 @@ export default class Link {
get href(): string {
deprecate('`href` is deprecated. Use `url` instead.', false, {
id: 'ember-link.link.href',
until: '2.0.0'
until: '2.0.0',
for: 'ember-link',
since: {
available: '1.1.0',
enabled: '1.1.0'
}
});
return this.url;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/services/link-manager-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function makeDummyTransition(): Transition {
retry() {
return this;
}
};
} as any as Transition;
}

module('Unit | Service | link-manager', function (hooks) {
Expand Down
Loading

0 comments on commit 143a8ee

Please sign in to comment.