From 6204555be3feaf5171dfb1bba15203ef2bb33265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C5=BD=C3=A1ra?= Date: Fri, 3 Apr 2020 14:11:50 +0200 Subject: "deno doc" parses the "implements" clause of a class def (#4604) --- cli/doc/ts_type.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/doc/ts_type.rs') 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 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 { -- cgit v1.2.3