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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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