mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
17 lines
408 B
TypeScript
17 lines
408 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.
|
|
*/
|
|
declare module "file-url" {
|
|
export = fileUrl;
|
|
}
|