6 lines
146 B
TypeScript
6 lines
146 B
TypeScript
|
import path from "path";
|
||
|
|
||
|
export default function decodePath(filePath: string): string {
|
||
|
return path.normalize(decodeURIComponent(filePath));
|
||
|
}
|