mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Remove trailing whitespaces
This commit is contained in:
Vendored
+2
-2
@@ -6,13 +6,13 @@
|
||||
declare module "username" {
|
||||
/**
|
||||
* Tries to get the username from the LOGNAME, USER, LNAME or USERNAME environment variables.
|
||||
* Falls back to `id -un` on OS X / Linux and `whoami` on Windows in the rare case none of the environment
|
||||
* Falls back to `id -un` on OS X / Linux and `whoami` on Windows in the rare case none of the environment
|
||||
* variables are set. The result is cached.
|
||||
*
|
||||
* @param callback The callback function to call asynchronously with the result.
|
||||
*/
|
||||
function username(callback: (err: Error, result: string) => void): void;
|
||||
|
||||
|
||||
module username {
|
||||
/**
|
||||
* Tries to get the username from the LOGNAME, USER, LNAME or USERNAME environment variables. Falls back
|
||||
|
||||
Reference in New Issue
Block a user