DefinitelyTyped/path-parse/path-parse-tests.ts
Ryan Cavanaugh 290d5dfb4d More fixes
2016-05-04 18:42:46 -07:00

5 lines
123 B
TypeScript

import * as parse from "path-parse";
const parsed = parse("/foo/bar.img");
const { root, dir, base, ext, name } = parsed;