mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +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
|