mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
jsgen: fixes and improvements
This commit is contained in:
14
vlib/builtin/js/jsfns_node.js.v
Normal file
14
vlib/builtin/js/jsfns_node.js.v
Normal file
@ -0,0 +1,14 @@
|
||||
// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved.
|
||||
// Use of this source code is governed by an MIT license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
// This file contains JS functions only present in node.js.
|
||||
// They have been ported from their TypeScript definitions.
|
||||
|
||||
module builtin
|
||||
|
||||
fn JS.process.exit(int)
|
||||
fn JS.process.stdout.write(string) bool
|
||||
fn JS.process.stdout.writeln(string) bool
|
||||
fn JS.process.stderr.write(string) bool
|
||||
fn JS.process.stderr.writeln(string) bool
|
Reference in New Issue
Block a user