From 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114 Mon Sep 17 00:00:00 2001 From: Rubin Bhandari Date: Thu, 11 Jun 2020 22:56:26 +0545 Subject: feat: add Deno.osName() (#5714) --- cli/doc/ts_type.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/doc/ts_type.rs') diff --git a/cli/doc/ts_type.rs b/cli/doc/ts_type.rs index ec1a5e7e9..e1677f13e 100644 --- a/cli/doc/ts_type.rs +++ b/cli/doc/ts_type.rs @@ -529,7 +529,7 @@ impl Into for &TsType { TsUnionOrIntersectionType(union_or_inter) => union_or_inter.into(), TsArrayType(array_type) => array_type.into(), TsTupleType(tuple_type) => tuple_type.into(), - TsTypeOperator(type_op_type) => type_op_type.into(), + TsTypeOperator(type_op_name) => type_op_name.into(), TsParenthesizedType(paren_type) => paren_type.into(), TsRestType(rest_type) => rest_type.into(), TsOptionalType(optional_type) => optional_type.into(), @@ -737,7 +737,7 @@ pub fn ts_type_ann_to_def(type_ann: &TsTypeAnn) -> TsTypeDef { TsUnionOrIntersectionType(union_or_inter) => union_or_inter.into(), TsArrayType(array_type) => array_type.into(), TsTupleType(tuple_type) => tuple_type.into(), - TsTypeOperator(type_op_type) => type_op_type.into(), + TsTypeOperator(type_op_name) => type_op_name.into(), TsParenthesizedType(paren_type) => paren_type.into(), TsRestType(rest_type) => rest_type.into(), TsOptionalType(optional_type) => optional_type.into(), -- cgit v1.2.3