logo
Genshin-TS
Docs
English
简体中文
Docs
English
简体中文
logo
Genshin-TS

Overview

Project Introduction
Highlights
Workflow Overview

Quick Start

Install
Template Structure
Injection and Maps
Dev Mode (gsts dev)

Writing Rules

Scope Split
Supported TS Subset
gstsServer Rules
Common Patterns

Globals and Types

Global Cheat Sheet
Type Mapping
Lists and Dicts

Events and Entry

g.server Options and Entry
Client Node Graphs
Signals
Multi-entry and Merge

Timers and Closures

Timers
Closures

Pipeline and Artifacts

Artifacts
IR Format
Debugging Flow

CLI and Injection

CLI Commands
gsts.config.ts
Injection Notes
Incremental Build

Optimization

Optimize Options
Performance Tips

Examples

Comprehensive Demo
gstsServer Example
Incremental Example

Troubleshooting

Common Issues
Compile-time Issues
Runtime Issues
Injection Issues

Debugging Flow#

  1. Check .gs.ts for semantics.
  2. Check .json for wiring and types.
  3. Run npm run lint and npm run typecheck.
Previous PageIR Format
Next PageCLI Commands