summaryrefslogtreecommitdiff
path: root/cli/doc
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-07-01 16:04:56 +0200
committerGitHub <noreply@github.com>2020-07-01 16:04:56 +0200
commit851344f2ed588c0aa5db4fa66b7326900fdf9b5d (patch)
tree77a69ff6796592a9cb5cd1d56256fdeef89fd521 /cli/doc
parent7858ebd493afe15b4b583b0218c27e166572b280 (diff)
upgrade: swc_ecma_visit, dprint, deno_lint (#6580)
Diffstat (limited to 'cli/doc')
-rw-r--r--cli/doc/ts_type.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/doc/ts_type.rs b/cli/doc/ts_type.rs
index ec1a5e7e9..7bb494541 100644
--- a/cli/doc/ts_type.rs
+++ b/cli/doc/ts_type.rs
@@ -121,7 +121,7 @@ impl Into<TsTypeDef> for &TsTupleType {
let mut type_defs = vec![];
for type_box in &self.elem_types {
- let ts_type: &TsType = &(*type_box);
+ let ts_type: &TsType = &type_box.ty;
let def: TsTypeDef = ts_type.into();
type_defs.push(def)
}