1
0
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:
spaceface777
2020-06-20 13:22:49 +02:00
committed by GitHub
parent ddd83f1fc6
commit a02aff9126
23 changed files with 376 additions and 1364 deletions

View 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