1. file manger 2. highlight for click input or output 3. selector of subtress 4. autocomplete for input or output
17 lines
328 B
TypeScript
17 lines
328 B
TypeScript
import path from "path";
|
|
|
|
const Path = path;
|
|
|
|
declare module "path" {
|
|
interface PlatformPath {
|
|
basenameWithoutExt(path: string): string;
|
|
}
|
|
}
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
path.basenameWithoutExt = (path: string) => {
|
|
return Path.basename(path, Path.extname(path));
|
|
};
|
|
|
|
export default Path;
|