Restore @babel/types support for old TS versions (#12521)
This commit is contained in:
@@ -5,7 +5,7 @@ const stringifyValidator = require("../utils/stringifyValidator");
|
||||
const toFunctionName = require("../utils/toFunctionName");
|
||||
|
||||
let code = `// NOTE: This file is autogenerated. Do not modify.
|
||||
// See packages/babel-types/scripts/generators/typescript-3.7.js for script used.
|
||||
// See packages/babel-types/scripts/generators/typescript-legacy.js for script used.
|
||||
|
||||
interface BaseComment {
|
||||
value: string;
|
||||
Reference in New Issue
Block a user