mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Mark deprecated functions as @deprecated.
This commit is contained in:
1 parent
e57df787f4
commit
712a127877
1 file changed
+4
-4
Vendored
+4
-4
@@ -537,19 +537,19 @@ declare module "express" {
|
||||
sendFile(path: string, options: any, fn: Errback): void;
|
||||
|
||||
/**
|
||||
* deprecated, use sendFile instead.
|
||||
* @deprecated Use sendFile instead.
|
||||
*/
|
||||
sendfile(path: string): void;
|
||||
/**
|
||||
* deprecated, use sendFile instead.
|
||||
* @deprecated Use sendFile instead.
|
||||
*/
|
||||
sendfile(path: string, options: any): void;
|
||||
/**
|
||||
* deprecated, use sendFile instead.
|
||||
* @deprecated Use sendFile instead.
|
||||
*/
|
||||
sendfile(path: string, fn: Errback): void;
|
||||
/**
|
||||
* deprecated, use sendFile instead.
|
||||
* @deprecated Use sendFile instead.
|
||||
*/
|
||||
sendfile(path: string, options: any, fn: Errback): void;
|
||||
|
||||
|
||||
Reference in new issue
Block a user