dev

package
v0.0.0-...-1982c3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowAll = options.Perms{

	Fs: true,

	Net: true,
}

AllowAll allow all flags when in development mode

Functions

func Compile

func Compile(source string, sourceFile string, fn func(val quickjs.Value), flags *options.Perms, args []string)

func ReportDiagnostics

func ReportDiagnostics(diagnostics quickjs.Value)

ReportDiagnostics report TypeScript diagnostics

func RunDev

func RunDev(og string, opt options.Options)

RunDev invoke typechecking and execute

func TypeCheck

func TypeCheck(source string, sourceFile string, args []string)

TypeCheck run typechecking and report the diagnostics

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL