diff --git a/typescript/pixi.d.ts b/typescript/pixi.d.ts index 00b8bf94e..6d8020188 100644 --- a/typescript/pixi.d.ts +++ b/typescript/pixi.d.ts @@ -637,7 +637,7 @@ declare module PIXI { drawShape(shape: Ellipse): GraphicsData; drawShape(shape: Polygon): GraphicsData; endFill(): Graphics; - generateTexture(resolution?: number, scaleMode?: number, padding?: number): Texture; + generateTexture(resolution?: number, scaleMode?: number, padding?: number): RenderTexture; lineStyle(lineWidth?: number, color?: number, alpha?: number): Graphics; lineTo(x: number, y: number): Graphics; moveTo(x: number, y: number): Graphics; @@ -1883,4 +1883,4 @@ declare function requestAnimFrame(callback: Function): void; declare module PIXI.PolyK { export function Triangulate(p: number[]): number[]; -} \ No newline at end of file +}