Skip to main content

Module types

Module types 

Source
Expand description

Convert oxc TypeScript type AST nodes to our IR TypeRef.

Functions§

convert_formal_params
Convert oxc FormalParameters to our IR Param list.
convert_ts_type
Convert an oxc TSType to our IR TypeRef.
convert_ts_type_scoped
Convert an oxc TSType to our IR TypeRef, with type parameter scope.
convert_type_params
Convert TSTypeParameterDeclaration to our IR TypeParam list.

Type Aliases§

TypeParamScope
Set of in-scope generic type parameter names. Names in this set resolve to TypeRef::Any instead of TypeRef::Named.