mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
Use type guard
This commit is contained in:
Vendored
+1
-1
@@ -5,6 +5,6 @@
|
||||
|
||||
/// <reference types='node' />
|
||||
|
||||
declare function isBuffer(obj: any): boolean;
|
||||
declare function isBuffer(obj: any): obj is Buffer;
|
||||
|
||||
export = isBuffer;
|
||||
|
||||
Reference in New Issue
Block a user