import { JSX } from '@babel/types' ; import { VisitorFunction } from '../types' ; import { FileTypes } from '../util/file' ; export const jsxVisitor = ( path , state ) : void => { FileTypes . set ( state . filename , '.tsx' ) ; } ;