UNPKG

@readable-js/core

Version:

ReadableJS is a toolkit for teachers to craft small demos that can be explored interactively.

6 lines (5 loc) 270 B
import { Expression, Pattern, PrivateIdentifier } from 'estree'; export interface ParseNodeOptions { replaceVar?: boolean; } export declare function generateReadableExpression(exp?: Expression | PrivateIdentifier | Pattern, options?: ParseNodeOptions): string;