revert scribbles mistakenly added

pull/16485/head
Nathan Shively-Sanders 1 month ago
parent 3de210e27f
commit f8bf2826ab

@ -82,7 +82,6 @@ export function compileModule(source, options) {
* @returns {AST.Root} * @returns {AST.Root}
*/ */
// TODO 6.0 remove unused `filename`
/** /**
* The parse function parses a component, returning only its abstract syntax tree. * The parse function parses a component, returning only its abstract syntax tree.
* *
@ -95,6 +94,7 @@ export function compileModule(source, options) {
* @returns {Record<string, any>} * @returns {Record<string, any>}
*/ */
// TODO 6.0 remove unused `filename`
/** /**
* The parse function parses a component, returning only its abstract syntax tree. * The parse function parses a component, returning only its abstract syntax tree.
* *
@ -123,8 +123,6 @@ export function parse(source, { modern, loose } = {}) {
* @param {boolean | undefined} modern * @param {boolean | undefined} modern
*/ */
function to_public_ast(source, ast, modern) { function to_public_ast(source, ast, modern) {
/** @type {AST.Root} */
const rrrrr = parse('hi', { modern: true }); // ensure that the modern AST is available
if (modern) { if (modern) {
const clean = (/** @type {any} */ node) => { const clean = (/** @type {any} */ node) => {
delete node.metadata; delete node.metadata;

Loading…
Cancel
Save