Skip to content

Commit

Permalink
Move declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
valurefugl committed Dec 12, 2024
1 parent a7eb295 commit 9bdca79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ type CountryFormatter = { of: (countryCode: string) => string }

@Injectable()
export class UserProfileService {
alsoUseFakeApi: boolean
// REMOVE these ignores after upgrading to TypeScript 4.5
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
Expand All @@ -46,7 +47,6 @@ export class UserProfileService {
private companyRegistryApi: CompanyRegistryClientService,
@Inject(LOGGER_PROVIDER)
private logger: Logger,
private alsoUseFakeApi: boolean,
@Optional()
readonly configService?: ConfigService,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ const decesead = 'LÉST'

@Injectable()
export class AliveStatusService {
alsoUseFakeApi: boolean

constructor(
private readonly nationalRegistryClient: NationalRegistryClientService,
private readonly nationalRegistryV3Client: NationalRegistryV3ClientService,
private readonly companyRegistryClient: CompanyRegistryClientService,
@Inject(LOGGER_PROVIDER)
private logger: Logger,
private alsoUseFakeApi: boolean,
@Optional()
readonly configService?: ConfigService,
) {
Expand Down

0 comments on commit 9bdca79

Please sign in to comment.