UNPKG

dazscript-framework

Version:

The **DazScript Framework** is a TypeScript-based framework for writing Daz Studio scripts. It provides all the advantages of a typed language such as autocompletion, error checking, and method parameter documentation and hinting. The framework also inclu

9 lines (6 loc) 175 B
const acceptUndoFor = (caption: string, callback: () => void) => { beginUndo() callback?.() acceptUndo(caption) } export { acceptUndoFor as acceptUndo }