UNPKG

javascript-obfuscator

Version:
9 lines (8 loc) • 463 B
import * as ESTree from 'estree'; import { TDictionary } from '../../types/TDictionary'; import { TStatement } from '../../types/node/TStatement'; export interface ICustomCodeHelperFormatter { formatTemplate<TMapping extends TDictionary>(template: string, mapping: TMapping): string; formatStructure(structure: TStatement[]): TStatement[]; formatVariableDeclarationKind(kind: ESTree.VariableDeclaration['kind']): ESTree.VariableDeclaration['kind']; }