Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
fix ts types according build crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Petrovich authored and themafia98 committed Jan 21, 2021
1 parent ade2a9d commit 3de40f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/src/Utils/Types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
Settings,
Access,
} from '../Interfaces';
import { DocumentQuery, Document } from 'mongoose';
import { Document } from 'mongoose';
import { Response } from 'express';
import { Socket } from 'socket.io';
import { BinaryLike } from 'crypto';
Expand All @@ -28,7 +28,6 @@ export type ListFolderResult = files.ListFolderResult | null;
export type FileMetadata = files.FileMetadata | null;
export type DeleteFile = files.DeleteResult;
export type Entity = Document | null | string | number;
export type BuilderResponse = Promise<DocumentQuery<any, Document> | object | null>;
export type ResRequest = Promise<Response | void | WriteStream | ReadableStream | WritableStream>;
export type Decorator = <Function extends ClassDecorator>(target: object, propKey?: string) => void;
export type FileTransportInstance = winston.transports.FileTransportInstance;
Expand Down

0 comments on commit 3de40f1

Please sign in to comment.