Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix types for ember v5.6 #786

Merged
merged 11 commits into from
Jan 26, 2024
Merged

Fix types for ember v5.6 #786

merged 11 commits into from
Jan 26, 2024

Conversation

gossi
Copy link
Collaborator

@gossi gossi commented Jan 24, 2024

No description provided.

@gossi gossi marked this pull request as ready for review January 24, 2024 00:03
@gossi gossi marked this pull request as draft January 24, 2024 00:05
@gossi gossi marked this pull request as ready for review January 24, 2024 00:05
@HeroicEric
Copy link

Tested my app with these changes and this also fixes #784

import type { Behavior } from '../-behavior';
import type { LinkParams } from '../-params';
import type RouteInfo from '@ember/routing/route-info';
import type RouterService from '@ember/routing/router-service';
import type Transition from '@ember/routing/transition';
import Owner from '@ember/owner';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I was testing this branch locally I noticed that the changes here were causing some linting errors

| [js] /--------/buschtoens/ember-link/ember-link/src/services/link-manager.ts
│ [js]    1:1  error  Run autofix to sort these imports!                                        simple-import-sort/imports
│ [js]   17:1  error  All imports in the declaration are only used as types. Use `import type`  @typescript-eslint/consistent-type-imports
│ [js]
│ [js] ✖ 2 problems (2 errors, 0 warnings)
│ [js]   2 errors and 0 warnings potentially fixable with the `--fix` option.

@gossi
Copy link
Collaborator Author

gossi commented Jan 24, 2024

Yeah, I fell asleep while working on this 💤 Gonna continue soon-ish to have it done by the weekend =)

@gossi gossi added the bug Something isn't working label Jan 26, 2024
@gossi gossi merged commit b23120b into main Jan 26, 2024
11 checks passed
@gossi gossi deleted the fix-types-for-emberv5 branch January 26, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants