Migrate Babel from Flow to TypeScript (except Babel parser) (#11578)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import ReplaceSupers from "@babel/helper-replace-supers";
|
||||
import { types as t } from "@babel/core";
|
||||
|
||||
function replacePropertySuper(path, getObjectRef, file) {
|
||||
// @ts-expect-error todo(flow->ts):
|
||||
const replaceSupers = new ReplaceSupers({
|
||||
getObjectRef: getObjectRef,
|
||||
methodPath: path,
|
||||
Reference in New Issue
Block a user