@Injectable()

@Optional

@Injectable()
export class HttpService<T> {
  constructor(
    @Optional() @Inject('HTTP_OPTIONS') private readonly httpClient: T
  ) {}
}
// 이것이 우리가 HTTP_OPTIONS 커스텀 토큰을 포함

@Inject

import { Injectable, Inject } from '@nestjs/common';

@Injectable()
export class HttpService<T> {
  @Inject('HTTP_OPTIONS')
  private readonly httpClient: T;
}

이렇게 만든 공급자는 Module에 provider 부분에 추가해야함니다