mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
jsgen: fixes and improvements
This commit is contained in:
parent
ddd83f1fc6
commit
a02aff9126
23 changed files with 376 additions and 1364 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue