diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-07-31 16:59:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 16:59:22 +0200 |
commit | b718e6ff53156a0aae486e570ce7c9cb8a3b822a (patch) | |
tree | 6930f093a20466f4333e24eda2cd059807a36314 /cli/doc/type_alias.rs | |
parent | 4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 (diff) |
upgrade: deno_lint, dprint, swc (#6928)
This commit upgrades:
deno_lint 0.1.20
dprint-plugin-typescript 0.25.0
swc_ecmascript 0.1.0
SWC is no longer reexported from dprint nor deno_lint.
Diffstat (limited to 'cli/doc/type_alias.rs')
-rw-r--r-- | cli/doc/type_alias.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/doc/type_alias.rs b/cli/doc/type_alias.rs index b26395c3f..446e8fbec 100644 --- a/cli/doc/type_alias.rs +++ b/cli/doc/type_alias.rs @@ -3,7 +3,6 @@ use super::parser::DocParser; use super::ts_type::TsTypeDef; use super::ts_type_param::maybe_type_param_decl_to_type_param_defs; use super::ts_type_param::TsTypeParamDef; -use crate::swc_ecma_ast; use serde::Serialize; #[derive(Debug, Serialize, Clone)] @@ -15,7 +14,7 @@ pub struct TypeAliasDef { pub fn get_doc_for_ts_type_alias_decl( _doc_parser: &DocParser, - type_alias_decl: &swc_ecma_ast::TsTypeAliasDecl, + type_alias_decl: &swc_ecmascript::ast::TsTypeAliasDecl, ) -> (String, TypeAliasDef) { let alias_name = type_alias_decl.id.sym.to_string(); let ts_type = type_alias_decl.type_ann.as_ref().into(); |