mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Add restify pre example of use on the tests
This commit is contained in:
@@ -28,6 +28,8 @@ server = restify.createServer({
|
||||
responseTimeFormatter : (durationInMilliseconds: number) => {}
|
||||
});
|
||||
|
||||
server.pre(restify.pre.sanitizePath());
|
||||
|
||||
server.on('someEvent', ()=>{});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user