mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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"});` |
||
|---|---|---|
| .. | ||
| snapsvg-tests.ts | ||
| snapsvg.d.ts | ||