Untitled
unknown
plain_text
3 years ago
5.0 kB
12
Indexable
node_modules/mongodb/mongodb.d.ts:1740:97 - error TS2344: Type 'TLocal' does not satisfy the constraint 'Document'.
1740 watch<TLocal = TSchema>(pipeline?: Document[], options?: ChangeStreamOptions): ChangeStream<TLocal>;
~~~~~~
node_modules/mongodb/mongodb.d.ts:1740:11
1740 watch<TLocal = TSchema>(pipeline?: Document[], options?: ChangeStreamOptions): ChangeStream<TLocal>;
~~~~~~~~~~~~~~~~
This type parameter might need an `extends Document` constraint.
node_modules/mongodb/mongodb.d.ts:2532:99 - error TS2344: Type 'TSchema' does not satisfy the constraint 'Document'.
2532 watch<TSchema = Document>(pipeline?: Document[], options?: ChangeStreamOptions): ChangeStream<TSchema>;
~~~~~~~
node_modules/mongodb/mongodb.d.ts:2532:11
2532 watch<TSchema = Document>(pipeline?: Document[], options?: ChangeStreamOptions): ChangeStream<TSchema>;
~~~~~~~~~~~~~~~~~~
This type parameter might need an `extends Document` constraint.
node_modules/mongodb/mongodb.d.ts:3988:99 - error TS2344: Type 'TSchema' does not satisfy the constraint 'Document'.
3988 watch<TSchema = Document>(pipeline?: Document[], options?: ChangeStreamOptions): ChangeStream<TSchema>;
~~~~~~~
node_modules/mongodb/mongodb.d.ts:3988:11
3988 watch<TSchema = Document>(pipeline?: Document[], options?: ChangeStreamOptions): ChangeStream<TSchema>;
~~~~~~~~~~~~~~~~~~
This type parameter might need an `extends Document` constraint.
node_modules/mongoose/index.d.ts:438:113 - error TS2344: Type 'ResultType' does not satisfy the constraint 'Document'.
438 watch<ResultType = any>(pipeline?: Array<any>, options?: mongodb.ChangeStreamOptions): mongodb.ChangeStream<ResultType>;
~~~~~~~~~~
node_modules/mongoose/index.d.ts:438:11
438 watch<ResultType = any>(pipeline?: Array<any>, options?: mongodb.ChangeStreamOptions): mongodb.ChangeStream<ResultType>;
~~~~~~~~~~~~~~~~
This type parameter might need an `extends mongodb.Document` constraint.
node_modules/mongoose/index.d.ts:933:133 - error TS2344: Type 'ResultType' does not satisfy the constraint 'Document'.
933 watch<ResultType = any>(pipeline?: Array<Record<string, unknown>>, options?: mongodb.ChangeStreamOptions): mongodb.ChangeStream<ResultType>;
~~~~~~~~~~
node_modules/mongoose/index.d.ts:933:11
933 watch<ResultType = any>(pipeline?: Array<Record<string, unknown>>, options?: mongodb.ChangeStreamOptions): mongodb.ChangeStream<ResultType>;
~~~~~~~~~~~~~~~~
This type parameter might need an `extends mongodb.Document` constraint.
node_modules/socket.io/dist/namespace.d.ts:14:133 - error TS2344: Type 'ListenEvents' does not satisfy the constraint 'EventsMap'.
14 export interface ServerReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> extends NamespaceReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> {
~~~~~~~~~~~~
node_modules/socket.io/dist/namespace.d.ts:14:42
14 export interface ServerReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> extends NamespaceReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> {
~~~~~~~~~~~~
This type parameter might need an `extends EventsMap` constraint.
node_modules/socket.io/dist/namespace.d.ts:15:42 - error TS2344: Type 'ListenEvents' does not satisfy the constraint 'EventsMap'.
15 new_namespace: (namespace: Namespace<ListenEvents, EmitEvents, ServerSideEvents, SocketData>) => void;
~~~~~~~~~~~~
node_modules/socket.io/dist/namespace.d.ts:14:42
14 export interface ServerReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> extends NamespaceReservedEventsMap<ListenEvents, EmitEvents, ServerSideEvents, SocketData> {
~~~~~~~~~~~~
This type parameter might need an `extends EventsMap` constraint.
Found 7 errors in 3 files.
Errors Files
3 node_modules/mongodb/mongodb.d.ts:1740
2 node_modules/mongoose/index.d.ts:438
2 node_modules/socket.io/dist/namespace.d.ts:14
container@pterodactyl~ Server marked as offline...Editor is loading...