Skip to content

Commit 3633c1b

Browse files
Merge pull request #3 from NativeScript/milanov/add-get-java-versions
Add SysInfo class
2 parents 58602e5 + cdc2964 commit 3633c1b

File tree

10 files changed

+2745
-5
lines changed

10 files changed

+2745
-5
lines changed

.npmignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ scratch/
2727
*.suo
2828
.travis.yml
2929
docs/html/
30-
dev/
30+
dev/
31+
32+
tscommand*.tmp.txt

lib/declarations.d.ts

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/**
2+
* Describes process properties.
3+
*/
4+
interface IProcessInfo {
5+
/**
6+
* The stdout of the process.
7+
*/
8+
stdout: string;
9+
10+
/**
11+
* The stderr of the process.
12+
*/
13+
stderr: string;
14+
15+
/**
16+
* The exit code of the process.
17+
*/
18+
exitCode?: number;
19+
}
20+
21+
interface ISpawnFromEventOptions {
22+
spawnOptions?: any;
23+
ignoreError?: boolean;
24+
}
25+
26+
interface IDictionary<T> {
27+
[key: string]: T
28+
}

0 commit comments

Comments
 (0)