Documentation
¶
Overview ¶
Package bundled provides access to files bundled with TypeScript.
Index ¶
Constants ¶
View Source
const Embedded = embedded
Embedded is true if the bundled files are implemented through an embedded FS.
Variables ¶
View Source
var LibNames = []string{}/* 108 elements not displayed */
LibNames is the list of all bundled lib files, sorted by name. For the list of libs sorted by load order, use [tsoptions.Libs].
Functions ¶
func LibPath ¶
func LibPath() string
LibPath returns the path to the directory containing the bundled lib.d.ts files. If embedding is not enabled, this is a path on disk, and must be accessed through a real OS filesystem.
func TestingLibPath ¶
func TestingLibPath() string
TestingLibPath returns the path to the source bundled libs directory. It's only valid to use in tests where the source code is available.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.