mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Per these docs: http://snapsvg.io/docs/#Paper.g The parameters to these functions are optional. This change stops the TypeScript compiler complaining when you call them with no arguments. Also, the return type of `g` and `group` should match (they are aliases); and `any` has the benefit over `Object` here of allowing code like `s.g().attr({id: "x"});`