{"version":3,"file":"if-exist.d.ts","sourceRoot":"","sources":["../../src/if-exist.ts"],"names":[],"mappings":";;;;AAMA,wBAGC","sourcesContent":["import { existsSync, renameSync, unlinkSync } from 'fs'\n\nconst unlink = (f: string) => existsSync(f) && unlinkSync(f)\nconst rename = (f: string, to: string) =>\n  existsSync(f) && renameSync(f, to)\n\nexport default {\n  unlink,\n  rename,\n}\n"]}