mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +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