using @:optional for typedefs
added haxedoc.hxml