flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshtynj...@apache.org
Subject flex-typedefs git commit: node: added some missing APIs
Date Wed, 20 Jul 2016 18:21:58 GMT
Repository: flex-typedefs
Updated Branches:
  refs/heads/develop 5888cfb15 -> a2b7167a2


node: added some missing APIs


Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/a2b7167a
Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/a2b7167a
Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/a2b7167a

Branch: refs/heads/develop
Commit: a2b7167a2b4b268633079cb6d9962d271fa07959
Parents: 5888cfb
Author: Josh Tynjala <joshtynjala@apache.org>
Authored: Wed Jul 20 11:21:51 2016 -0700
Committer: Josh Tynjala <joshtynjala@apache.org>
Committed: Wed Jul 20 11:21:51 2016 -0700

----------------------------------------------------------------------
 node/src/main/javascript/missing.js | 129 +++++++++++++++++++++++++++++++
 1 file changed, 129 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/a2b7167a/node/src/main/javascript/missing.js
----------------------------------------------------------------------
diff --git a/node/src/main/javascript/missing.js b/node/src/main/javascript/missing.js
index d6c73f3..d9df802 100644
--- a/node/src/main/javascript/missing.js
+++ b/node/src/main/javascript/missing.js
@@ -23,3 +23,132 @@
  * @externs
  */
 
+/**
+ * @param {string} command
+ * @param {child_process.Options} options
+ * @return {Buffer|string}
+ */
+child_process.execSync;
+
+/**
+ * @param {string} file
+ * @param {Array.<string>} args
+ * @param {child_process.Options} options
+ * @return {Buffer|string}
+ */
+child_process.execFileSync;
+
+/**
+ * @param {string} p
+ * @return {boolean}
+ * @nosideeffects
+ */
+path.isAbsolute;
+
+/**
+ * @type {string}
+ */
+path.delimiter;
+
+/**
+ * @return {void}
+ * @see http://nodejs.org/api/process.html#process_process_abort
+ */
+Process.prototype.abort = function () {};
+
+/**
+ * @type {string}
+ * @see http://nodejs.org/api/process.html#process_process_arch
+ */
+Process.prototype.arch;
+
+/**
+ * @type {Array<string>}
+ * @see http://nodejs.org/api/process.html#process_process_argv
+ */
+Process.prototype.argv;
+
+/**
+ * @param {string} directory
+ * @see http://nodejs.org/api/process.html#process_process_chdir_directory
+ */
+Process.prototype.chdir = function (directory) {};
+
+/**
+ * @type {*}
+ * @see http://nodejs.org/api/process.html#process_process_config
+ */
+Process.prototype.config;
+
+/**
+ * @type {boolean}
+ * @see http://nodejs.org/api/process.html#process_process_connected
+ */
+Process.prototype.connected;
+
+/**
+ * @return {string}
+ * @see http://nodejs.org/api/process.html#process_process_cwd
+ */
+Process.prototype.cwd = function () {};
+
+/**
+ * @return {void}
+ * @see http://nodejs.org/api/process.html#process_process_disconnect
+ */
+Process.prototype.disconnect = function () {};
+
+/**
+ * @type {*}
+ * @see http://nodejs.org/api/process.html#process_process_env
+ */
+Process.prototype.env;
+
+/**
+ * @param {number=} code
+ * @see http://nodejs.org/api/process.html#process_process_exit_code
+ */
+Process.prototype.exit = function (code) {};
+
+/**
+ * @param {number} pid
+ * @param {string|number} signal
+ * @see http://nodejs.org/api/process.html#process_process_kill_pid_signal
+ */
+Process.prototype.kill = function (pid, signal) {};
+
+/**
+ * @type {string}
+ * @see http://nodejs.org/api/process.html#process_process_pid
+ */
+Process.prototype.pid;
+
+/**
+ * @type {string}
+ * @see http://nodejs.org/api/process.html#process_process_platform
+ */
+Process.prototype.platform;
+
+/**
+ * @type {*}
+ * @see http://nodejs.org/api/process.html#process_process_release
+ */
+Process.prototype.release;
+
+/**
+ * @return {number}
+ * @see http://nodejs.org/api/process.html#process_process_uptime
+ */
+Process.prototype.uptime = function () {};
+
+/**
+ * @type {string}
+ * @see http://nodejs.org/api/process.html#process_process_version
+ */
+Process.prototype.version;
+
+/**
+ * @type {*}
+ * @see http://nodejs.org/api/process.html#process_process_versions
+ */
+Process.prototype.versions;
\ No newline at end of file


Mime
View raw message