Skip to content

Commit 2fd4c69

Browse files
jessebeachbeefancohen
authored andcommitted
Add a type keyword to the import of JSXOpeningElement in the rule boilerplate (#173)
1 parent a513bf5 commit 2fd4c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/boilerplate/rule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ruleBoilerplate = (author, description) => `/**
88
// Rule Definition
99
// ----------------------------------------------------------------------------
1010
11-
import { JSXOpeningElement } from 'ast-types-flow';
11+
import type { JSXOpeningElement } from 'ast-types-flow';
1212
import { generateObjSchema } from '../util/schemas';
1313
1414
const errorMessage = '';

0 commit comments

Comments
 (0)