@bigtest/effection-express
Advanced tools
Comparing version 0.9.1-390824a3 to 0.9.1-3c23a474
@@ -26,5 +26,5 @@ /// <reference types="node" /> | ||
constructor(raw: ews.Application); | ||
use(handler: OperationRequestHandler): Operation<{}>; | ||
get(path: string, handler: OperationRequestHandler): Operation<{}>; | ||
ws(path: string, handler: WsOperationRequestHandler): Operation<{}>; | ||
use(handler: OperationRequestHandler): Operation<Record<string, never>>; | ||
get(path: string, handler: OperationRequestHandler): Operation<Record<string, never>>; | ||
ws(path: string, handler: WsOperationRequestHandler): Operation<Record<string, never>>; | ||
listen(port: number): Operation<Server>; | ||
@@ -31,0 +31,0 @@ join(): Operation<void>; |
@@ -47,3 +47,2 @@ "use strict"; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
*use(handler) { | ||
@@ -58,3 +57,2 @@ return yield effection_1.resource({}, (controls) => { | ||
} | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
*get(path, handler) { | ||
@@ -69,3 +67,2 @@ return yield effection_1.resource({}, (controls) => { | ||
} | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
*ws(path, handler) { | ||
@@ -72,0 +69,0 @@ return yield effection_1.resource({}, (controls) => { |
{ | ||
"name": "@bigtest/effection-express", | ||
"version": "0.9.1-390824a3", | ||
"version": "0.9.1-3c23a474", | ||
"description": "Makes it easy to use Express from Effection", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11984
133