Create FightCode.d.ts

Full api definition. JsDoc comes from comments from original api.