Skip to content

Commit 1204fea

Browse files
committed
Fix typo
1 parent 3ab7758 commit 1204fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transforms/react-remove-prop-types-import.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ export type Factory = ts.TransformerFactory<ts.SourceFile>;
1212
* @example
1313
* Before:
1414
* import PropTypes from 'prop-types'
15-
* import React, { PropTypes } from 'rect'
15+
* import React, { PropTypes } from 'react'
1616
*
1717
* After:
18-
* import React from 'rect'
18+
* import React from 'react'
1919
*/
2020
export function reactRemovePropTypesImportTransformFactoryFactory(typeChecker: ts.TypeChecker): Factory {
2121
return function reactRemovePropTypesImportTransformFactory(context: ts.TransformationContext) {

0 commit comments

Comments
 (0)