mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
7 lines
315 B
TypeScript
7 lines
315 B
TypeScript
import isSsh = require('is-ssh');
|
|
|
|
isSsh('ssh://user@host.xz:port/path/to/repo.git/'); // $ExpectType boolean
|
|
isSsh('ssh://user@host.xz/path/to/repo.git/'); // $ExpectType boolean
|
|
isSsh('ssh://host.xz:port/path/to/repo.git/'); // $ExpectType boolean
|
|
isSsh('ssh://host.xz/path/to/repo.git/'); // $ExpectType boolean
|