UNPKG

js-draw

Version:

Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript.

5 lines (4 loc) 247 B
import Command from './Command'; import SerializableCommand from './SerializableCommand'; declare const invertCommand: <T extends Command>(command: T) => T extends SerializableCommand ? SerializableCommand : Command; export default invertCommand;