Skip to main content

typescript_field_rule

Function typescript_field_rule 

Source
pub fn typescript_field_rule(field: &str) -> Option<FieldRule>
Expand description

Return the shared field rule for an exact TypeScript field spelling.

Callers stay responsible for receiver-shape checks; this only resolves the stdlib identity of the field name itself.