mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
replace internal module to namespace
This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ declare module 'credential' {
|
||||
type HashCallback = (err: Error, hash: string) => void;
|
||||
type VerifyCallback = (err: Error, isValid: boolean) => void;
|
||||
|
||||
module credential {
|
||||
namespace credential {
|
||||
function hash(password: string, callback: HashCallback): void;
|
||||
function verify(hash: string, password: string, callback: VerifyCallback): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user