mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
15 lines
374 B
TypeScript
15 lines
374 B
TypeScript
// Type definitions for file-url v1.0.1
|
|
// Project: https://github.com/sindresorhus/file-url
|
|
// Definitions by: MEDIA CHECK s.r.o. <http://www.mediacheck.cz/>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Convert a path to a file URL.
|
|
*/
|
|
declare function fileUrl(path:string):string;
|
|
|
|
/**
|
|
* Convert a path to a file URL.
|
|
*/
|
|
export = fileUrl;
|