inline_typedef

Function inline_typedef 

Source
pub fn inline_typedef(typedef: TypeDef) -> TypeDef
Expand description

Extracts the inner type definition, unwrapping Named if necessary.

This is used by the derive macro to implement #[ts(inline)]. When a field is marked with inline, the full type definition is inlined instead of using a type reference.