Kargi-Sitesi/node_modules/untildify/index.d.ts

14 lines
279 B
TypeScript

/**
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`.
@example
```
import untildify = require('untildify');
untildify('~/dev');
//=> '/Users/sindresorhus/dev'
```
*/
declare function untildify(pathWithTilde: string): string;
export = untildify;