Module Js_parser.File_key

type t =
  1. | LibFile(string)
  2. | SourceFile(string)
  3. | JsonFile(string)
  4. | ResourceFile(string)
;
let to_string: t => string;
let to_path: t => result(string, 'a);
let compare: t => t => int;
let compare_opt: option(t) => option(t) => int;
let is_lib_file: t => bool;
let map: (string => string) => t => t;
let exists: (string => 'a) => t => 'a;
let check_suffix: t => string => bool;
let chop_suffix: t => string => t;
let with_suffix: t => string => t;