typespeed 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -199,7 +199,7 @@ declare abstract class ServerFactory {
199
199
  * 启动 Web 服务
200
200
  * @param port 端口号
201
201
  */
202
- abstract start(port: number): any;
202
+ abstract start(port: number, callback?: Function): any;
203
203
  }
204
204
  /**日志工厂类 */
205
205
  declare abstract class LogFactory {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typespeed",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "A new Framework for TypeScript.",
5
5
  "author": "speedphp",
6
6
  "license": "MIT License",
@@ -199,7 +199,7 @@ declare abstract class ServerFactory {
199
199
  * 启动 Web 服务
200
200
  * @param port 端口号
201
201
  */
202
- abstract start(port: number): any;
202
+ abstract start(port: number, callback?: Function): any;
203
203
  }
204
204
  /**日志工厂类 */
205
205
  declare abstract class LogFactory {