1234567891011121314 |
- export interface ScriptingAPI {
- parse(rawCodeString: string): string;
- /**
- * Evaluates the given JavaScript code and returns the result, throwing if there were errors.
- */
- evalJavaScript(code: string): any;
- /**
- * Evaluates the given TwineScript code and returns the result, throwing if there were errors.
- */
- evalTwineScript(code: string): any;
- }
- export {};
|