add remove method for aliases
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
// For more information about this file see https://dove.feathersjs.com/guides/cli/typescript.html
|
||||
import { HookContext as FeathersHookContext, NextFunction } from '@feathersjs/feathers'
|
||||
import { Application as FeathersApplication } from '@feathersjs/express'
|
||||
type ApplicationConfiguration = any
|
||||
import {
|
||||
HookContext as FeathersHookContext,
|
||||
NextFunction,
|
||||
} from "@feathersjs/feathers";
|
||||
import { Application as FeathersApplication } from "@feathersjs/express";
|
||||
type ApplicationConfiguration = any;
|
||||
|
||||
export { NextFunction }
|
||||
export { NextFunction };
|
||||
|
||||
// The types for app.get(name) and app.set(name)
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
@@ -14,7 +17,7 @@ export interface Configuration extends ApplicationConfiguration {}
|
||||
export interface ServiceTypes {}
|
||||
|
||||
// The application instance type that will be used everywhere else
|
||||
export type Application = FeathersApplication<ServiceTypes, Configuration>
|
||||
export type Application = FeathersApplication<ServiceTypes, Configuration>;
|
||||
|
||||
// The context for hook functions - can be typed with a service class
|
||||
export type HookContext<S = any> = FeathersHookContext<Application, S>
|
||||
export type HookContext<S = any> = FeathersHookContext<Application, S>;
|
||||
|
||||
Reference in New Issue
Block a user