We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ab7758 commit 1204feaCopy full SHA for 1204fea
src/transforms/react-remove-prop-types-import.ts
@@ -12,10 +12,10 @@ export type Factory = ts.TransformerFactory<ts.SourceFile>;
12
* @example
13
* Before:
14
* import PropTypes from 'prop-types'
15
- * import React, { PropTypes } from 'rect'
+ * import React, { PropTypes } from 'react'
16
*
17
* After:
18
- * import React from 'rect'
+ * import React from 'react'
19
*/
20
export function reactRemovePropTypesImportTransformFactoryFactory(typeChecker: ts.TypeChecker): Factory {
21
return function reactRemovePropTypesImportTransformFactory(context: ts.TransformationContext) {
0 commit comments