Skip to content

Commit

Permalink
Remove unrelated line from code from TypeScript usage example (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeAstapov authored Apr 27, 2024
1 parent 6e36b50 commit 15f5f6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ The library ships types for TypeScript usage:
import Service, { inject as service } from '@ember/service';
import type EnginesRouterService from 'ember-engines-router-service/services/router';

type Transition = ReturnType<EnginesRouterService['transitionTo']> & { sequence: number };

export default class MyService extends Service {
@service declare router: EnginesRouterService;

Expand Down

0 comments on commit 15f5f6d

Please sign in to comment.