Help us shape the future of Go! Take the 2026 Go Developer Survey

typescript

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package typescript owns the TypeScript runner profile, starter template, and source-signature extractor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetFiles

func AssetFiles() fs.FS

AssetFiles returns this language's embedded profile and template files, rooted at profiles/ and templates/.

func ExtractSignatures

func ExtractSignatures(src []byte, filename string, exportedOnly bool) (snippets []string, funcCount int, err error)

ExtractSignatures parses TypeScript, TSX, or JavaScript-compatible source. filename selects TSX/JSX grammar when its extension requires it.

Types

This section is empty.

Directories

Path Synopsis
Package assets embeds TypeScript runner files.
Package assets embeds TypeScript runner files.

Jump to

Keyboard shortcuts

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