diff options
Diffstat (limited to 'cli/doc/ts_type.rs')
-rw-r--r-- | cli/doc/ts_type.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/doc/ts_type.rs b/cli/doc/ts_type.rs index 9a7d191ba..ea3ffcd90 100644 --- a/cli/doc/ts_type.rs +++ b/cli/doc/ts_type.rs @@ -247,7 +247,9 @@ impl Into<TsTypeDef> for &TsThisType { } } -fn ts_entity_name_to_name(entity_name: &swc_ecma_ast::TsEntityName) -> String { +pub fn ts_entity_name_to_name( + entity_name: &swc_ecma_ast::TsEntityName, +) -> String { use swc_ecma_ast::TsEntityName::*; match entity_name { |