Skip to content

Update transient symbols definition #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions GLOSSARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@

- `Type`: Types are the other part of the semantic system. Types can be named (e.g. classes and interfaces), or anonymous (e.g. object types).

- Signature``: There are three types of signatures in the language: call, construct and index signatures.
- `Signature`: There are three types of signatures in the language: call, construct and index signatures.

* `Transient Symbol` - A symbol created in the checker, as opposed to in the binder. They intended for use in the checker. They're called transient because the binder runs once on all files and then only re-runs when a file is edited, but the checker runs only lazily, and on edits.
Usually used for symbols that don't directly map to a source location, but are based on symbols which do map to a source location. Something like symbols of a mapped type or merged symbols of an interface or intersection.

* `Transient Symbol` - A symbol created in the checker, as opposed to in the binder
* `Freshness` - When a literal type is first created and not expanded by hitting a mutable location, see [Widening
and Narrowing in TypeScript][wnn].

Expand Down