import Service from '@ember/service' export default class AuthenticationService extends Service {} // Don't remove this declaration: this is what enables TypeScript to resolve // this service using `Owner.lookup('service:authentication')`, as well // as to check when you pass the service name as an argument to the decorator, // like `@service('authentication') declare altName: AuthenticationService;`. declare module '@ember/service' { interface Registry { authentication: AuthenticationService } }