mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #2680 from froginvasion/patch-2
Removed two missing properties from kineticjs
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