Skip to content

Commit

Permalink
Use private type to make linter happy?
Browse files Browse the repository at this point in the history
  • Loading branch information
Baltazore committed Mar 12, 2024
1 parent c1be6c1 commit 78dfe7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/example-json-api/app/services/request-manager.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { LegacyNetworkHandler } from '@ember-data/legacy-compat';
import type { Handler, NextFn, RequestContext } from '@ember-data/request';
import RequestManager from '@ember-data/request';
import type { GenericCreateArgs } from '@ember-data/request/-private/types';
import Fetch from '@ember-data/request/fetch';

/* eslint-disable no-console */
Expand All @@ -14,7 +15,7 @@ const TestHandler: Handler = {
};

export default class Requests extends RequestManager {
constructor(args) {
constructor(args: GenericCreateArgs) {
super(args);
this.use([LegacyNetworkHandler, TestHandler, Fetch]);
}
Expand Down

0 comments on commit 78dfe7b

Please sign in to comment.