openaire-library/utils/tokens.ts

7 lines
271 B
TypeScript

import {InjectionToken} from "@angular/core";
import {Request, Response} from "express";
export const REQUEST: InjectionToken<Request> = new InjectionToken<Request>('Request');
export const RESPONSE: InjectionToken<Response> = new InjectionToken<Response>('Response');