Migrate from typedef to explicit-function-return-type

This commit is contained in:
Daniel Imms
2020-03-28 07:10:08 -07:00
parent 8475f95b19
commit 2e9b4779c9
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ export class MockUnicodeService implements IUnicodeService {
versions: string[] = [];
activeVersion: string = '';
onChange: IEvent<string> = new EventEmitter<string>().event;
wcwidth = (codepoint: number) => this._provider.wcwidth(codepoint);
wcwidth = (codepoint: number): number => this._provider.wcwidth(codepoint);
getStringCellWidth(s: string): number {
throw new Error('Method not implemented.');
}