Slide 15
Slide 15 text
/* @flow */
declare module 'url' {
declare type UrlObject = {
href?: string,
protocol?: string,
slashes?: string,
//...
path?: string,
query?: string,
hash?: string
};
declare function format(urlObj: Object): string;
declare function parse(url: string): UrlObject;
}
[ignore]
[include]
[libs]
flow-typed/
[options]
.flowconfig flow-typed/url.js