Fixed typings #6

Merged
arne merged 2 commits from corner-typings-patch into master 2020-05-26 15:33:40 +02:00
Showing only changes of commit 495856ee53 - Show all commits

4
lib/index.d.ts vendored
View File

@ -3,7 +3,7 @@ export as namespace asdf;
type Coordinates = {x: number, y: number}; type Coordinates = {x: number, y: number};
class Renderable { class Renderable {
visible?: boolean, visible?: boolean;
dead?: boolean dead?: boolean
} }
@ -169,7 +169,7 @@ export class Text extends Renderable {
text: string; text: string;
visible: boolean; visible: boolean;
update?: (dt?: number, t?: number) => void; update?: (dt?: number, t?: number) => void;
style: TextStyleOptions' style: TextStyleOptions;
/** /**
* Prints styled text on canvas * Prints styled text on canvas