summaryrefslogtreecommitdiff
path: root/cli/doc/ts_type.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-06-12 09:53:53 -0400
committerGitHub <noreply@github.com>2020-06-12 09:53:53 -0400
commite9424bf6b59b4e27c2691b70879cb1de874f98ce (patch)
tree3a11c12f74f1f2e86c38814620961a0532f38812 /cli/doc/ts_type.rs
parentb34f4689430db67d98aa037193a118bc088e48d6 (diff)
Revert "feat: add Deno.osName()" (#6261)
Deno.build.os provides the same functionality This reverts commit 6ccf9037a6b36c81ea0e6ac12d0e2dbd793f6114.
Diffstat (limited to 'cli/doc/ts_type.rs')
-rw-r--r--cli/doc/ts_type.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/doc/ts_type.rs b/cli/doc/ts_type.rs
index e1677f13e..ec1a5e7e9 100644
--- a/cli/doc/ts_type.rs
+++ b/cli/doc/ts_type.rs
@@ -529,7 +529,7 @@ impl Into<TsTypeDef> 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_name) => type_op_name.into(),
+ TsTypeOperator(type_op_type) => type_op_type.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_name) => type_op_name.into(),
+ TsTypeOperator(type_op_type) => type_op_type.into(),
TsParenthesizedType(paren_type) => paren_type.into(),
TsRestType(rest_type) => rest_type.into(),
TsOptionalType(optional_type) => optional_type.into(),