Fix event firing

This commit is contained in:
Daniel Imms
2019-06-08 15:45:07 -07:00
parent 47fab14efc
commit 6375d9b88e
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -432,7 +432,7 @@ export class MockCompositionHelper implements ICompositionHelper {
export class MockCharSizeService implements ICharSizeService {
get hasValidSize(): boolean { return this.width > 0 && this.height > 0; }
onCharSizeChange: IEvent<string>;
onCharSizeChange: IEvent<void>;
constructor(public width: number, public height: number) {}
measure(): void {}
}