Port Settings
and OS
to TypeScript
This commit is contained in:
parent
38b23c6627
commit
a102016ed8
6 changed files with 36 additions and 23 deletions
|
@ -1,7 +0,0 @@
|
|||
/* eslint-env node */
|
||||
|
||||
exports.isMacOS = () => process.platform === 'darwin';
|
||||
|
||||
exports.isLinux = () => process.platform === 'linux';
|
||||
|
||||
exports.isWindows = () => process.platform === 'win32';
|
|
@ -1,3 +0,0 @@
|
|||
const OS = require('../os');
|
||||
|
||||
exports.isAudioNotificationSupported = () => !OS.isLinux();
|
Loading…
Add table
Add a link
Reference in a new issue