Browse Source

Merge pull request #1204 from maximedupre/patch-1

Fixes typings starting tsc 4.2.4
tags/3.1.1
Ulrich-Matthias Schäfer 3 years ago
parent
commit
14a828fe24
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      svg.js.d.ts

+ 2
- 2
svg.js.d.ts View File

@@ -821,7 +821,7 @@ declare module "@svgdotjs/svg.js" {
type TimeLike = number | TimesParam | Stepper
type EasingCallback = (...any) => number
type EasingCallback = (...any: any) => number
type EasingLiteral = "<>" | "-" | "<" | ">"
class Runner {
@@ -1104,7 +1104,7 @@ declare module "@svgdotjs/svg.js" {
viewbox(x: number, y: number, width: number, height: number): this;
textPath(text: string | Text, path: string | Path): TextPath
symbol(): Symbol
zoom(level: NumberAlias, point?: Point)
zoom(level: NumberAlias, point?: Point): any;
}
class Defs extends Container {

Loading…
Cancel
Save