Skip to content

Commit 50e10b9

Browse files
committed
refactor(cli-test-utils): remove redundant type def in d.ts
1 parent 65c0c2e commit 50e10b9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
/// <reference types="node" />
22
import * as http from 'http'
33

4-
type Options = {
5-
[props: string]: any
4+
declare function createServer(options: {
65
/**
76
* Set a sub directory to be served
87
*/
98
root: string
10-
}
11-
12-
declare function createServer(options: Options): http.Server
9+
}): http.Server
1310

1411
export = createServer

0 commit comments

Comments
 (0)