TS-family (typescript/tsx): type annotations, interfaces, enums, aliases, visibility, isStatic. The JS family lacks all of those hooks.
(self)
| 44 | /// TS-family (typescript/tsx): type annotations, interfaces, enums, |
| 45 | /// aliases, visibility, isStatic. The JS family lacks all of those hooks. |
| 46 | fn is_ts(self) -> bool { |
| 47 | matches!(self, Variant::Typescript | Variant::Tsx) |
| 48 | } |
| 49 | /// VALUE_REF_LANGS includes typescript/tsx/javascript but NOT jsx. |
| 50 | fn value_refs(self) -> bool { |
| 51 | !matches!(self, Variant::Jsx) |
no outgoing calls
no test coverage detected