Get user home directory with TypeScript
Advertisements
import * as os from "os" function getCurrentUserHomeDir(): string { return os.homedir() }
import * as os from "os" function getCurrentUserHomeDir(): string { return os.homedir() }