The well-known symbol used to tag passable objects with their pass style.
Typed as the string literal 'Symbol(passStyle)' rather than as
unique symbol, to keep the type nameable across module boundaries.
The runtime value is still Symbol.for('passStyle') — JS computed property
keys accept any value, so obj[PASS_STYLE] indexing is unchanged.
Without this, declaration emit in downstream packages whose inferred types
structurally contain [PASS_STYLE] (via PassStyled, ExtractStyle, etc.)
fails with TS4023 / TS9006, because unique symbol bindings are only
nameable via their original declaration module — which consumers have no
reason to import directly.
The well-known symbol used to tag passable objects with their pass style.
Typed as the string literal
'Symbol(passStyle)'rather than asunique symbol, to keep the type nameable across module boundaries. The runtime value is stillSymbol.for('passStyle')— JS computed property keys accept any value, soobj[PASS_STYLE]indexing is unchanged.Without this, declaration emit in downstream packages whose inferred types structurally contain
[PASS_STYLE](viaPassStyled,ExtractStyle, etc.) fails with TS4023 / TS9006, becauseunique symbolbindings are only nameable via their original declaration module — which consumers have no reason to import directly.