mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-31 02:34:28 +00: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"});`