index.d.ts 279 B

1234567891011121314
  1. /**
  2. Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`.
  3. @example
  4. ```
  5. import untildify = require('untildify');
  6. untildify('~/dev');
  7. //=> '/Users/sindresorhus/dev'
  8. ```
  9. */
  10. declare function untildify(pathWithTilde: string): string;
  11. export = untildify;