mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 12:09:04 +08:00
10 lines
163 B
TypeScript
10 lines
163 B
TypeScript
|
|
import username = require("username");
|
|
|
|
username(function(err, username) {
|
|
err === new Error();
|
|
username === "string";
|
|
});
|
|
|
|
username.sync() === "string";
|