mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Removed two missing properties from kineticjs
Both `Polygon` and `Transition` dont seem to be present anymore in the current version of KineticJS. I'm not an expert of KineticJS, which means I could be wrong of course.
This commit is contained in:
Vendored
-21
@@ -300,15 +300,6 @@ declare module Kinetic {
|
||||
setData(SVG: string): any;
|
||||
}
|
||||
|
||||
var Polygon: {
|
||||
new (config: PolygonConfig): IPolygon;
|
||||
}
|
||||
|
||||
interface IPolygon extends IShape {
|
||||
getPoints(): any;
|
||||
setPoints(points: any): any;
|
||||
}
|
||||
|
||||
var RegularPolygon: {
|
||||
new (config: RegularPolygonConfig): IRegularPolygon;
|
||||
}
|
||||
@@ -405,14 +396,6 @@ declare module Kinetic {
|
||||
setTextStrokeWidth(textStrokeWidth: number): any;
|
||||
}
|
||||
|
||||
var Transition: {
|
||||
new (node: Node, config: any): ITransition;
|
||||
}
|
||||
interface ITransition {
|
||||
start(): any;
|
||||
stop(): any;
|
||||
}
|
||||
|
||||
var Animation: {
|
||||
new (...args: any[]): IAnimation;
|
||||
}
|
||||
@@ -485,10 +468,6 @@ declare module Kinetic {
|
||||
dash?: number[];
|
||||
}
|
||||
|
||||
interface PolygonConfig extends DrawOptionsConfig, ObjectOptionsConfig {
|
||||
points: any;
|
||||
}
|
||||
|
||||
interface RegularPolygonConfig extends DrawOptionsConfig, ObjectOptionsConfig {
|
||||
sides: number;
|
||||
radius: number;
|
||||
|
||||
Reference in New Issue
Block a user