Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed May 23, 2023
1 parent 54b6b9f commit 4e57b88
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { declare } from "@babel/helper-plugin-utils";
import syntacExplicitResourceManagement from "@babel/plugin-syntax-explicit-resource-management";
import syntaxExplicitResourceManagement from "@babel/plugin-syntax-explicit-resource-management";
import { types as t, template, traverse, type PluginPass } from "@babel/core";
import type { NodePath, Visitor } from "@babel/traverse";

export default declare(api => {
// TOOD: assert version 7.22.0
// TODO: assert version 7.22.0
api.assertVersion(7);

const TOP_LEVEL_USING = new WeakSet();
Expand Down Expand Up @@ -119,7 +119,7 @@ export default declare(api => {

return {
name: "proposal-explicit-resource-management",
inherits: syntacExplicitResourceManagement,
inherits: syntaxExplicitResourceManagement,

visitor: traverse.visitors.merge([
transformUsingDeclarationsVisitor,
Expand Down

0 comments on commit 4e57b88

Please sign in to comment.