mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
8 lines
209 B
TypeScript
8 lines
209 B
TypeScript
import UrlAssembler = require('url-assembler');
|
|
UrlAssembler('http://goggle.com').segment('string');
|
|
const f = new UrlAssembler('https://foo/bar/');
|
|
|
|
function printUrl(u: UrlAssembler) {
|
|
return u.toJSON();
|
|
}
|