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/module.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/module.rs')
-rw-r--r-- | cli/doc/module.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cli/doc/module.rs b/cli/doc/module.rs index 79b1b92be..74d5361eb 100644 --- a/cli/doc/module.rs +++ b/cli/doc/module.rs @@ -1,6 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -use crate::swc_common::Spanned; -use crate::swc_ecma_ast; +use swc_common::Spanned; use super::parser::DocParser; use super::DocNode; @@ -8,10 +7,10 @@ use super::DocNodeKind; pub fn get_doc_node_for_export_decl( doc_parser: &DocParser, - export_decl: &swc_ecma_ast::ExportDecl, + export_decl: &swc_ecmascript::ast::ExportDecl, ) -> DocNode { let export_span = export_decl.span(); - use crate::swc_ecma_ast::Decl; + use swc_ecmascript::ast::Decl; let js_doc = doc_parser.js_doc_for_span(export_span); let location = doc_parser.ast_parser.get_span_location(export_span).into(); |