UNPKG
open-with-applications
Version:
latest (0.1.1)
0.1.1
0.1.0
A Node.js package to find applications that can open a file on macOS
open-with-applications
/
src
/
types.ts
10 lines
(8 loc)
•
179 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
export
interface
GetApplications
{
getApplications
:
(
filePath
:
string
) =>
Application
[] }
export
type
Application
= {
name
:
string
path
:
string
iconPath
:
string
|
null
}