Skip to content

Commit c633d90

Browse files
committed
Added type definitions
1 parent a8476b1 commit c633d90

4 files changed

Lines changed: 1111 additions & 1 deletion

File tree

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default } from "./small-router";
2+
export * from "./small-router";

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ module.exports = (http) => {
266266
res.end(notFound);
267267
}
268268

269-
close(cb) {
269+
close() {
270270
this.server.close();
271271
}
272272
}

0 commit comments

Comments
 (0)