UNPKG
open-image
Version:
latest (1.1.0)
1.1.0
1.0.0
0.1.2
0.1.1
0.1.0
Open/view an image
open-image
/
dist
/
factory.d.ts
8 lines
(7 loc)
•
247 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
execa
from
'execa'
;
declare
type
OpenImageCommand
= {
command
:
string
;
parameters
:
Array
<
string
>; };
export
default
function
factory
(
commands
:
Array
<
OpenImageCommand
>
):
(
imagePath
:
string
) =>
Promise
<execa.
ExecaReturns
>;
export
{};