Skip to content

Commit b9ec25b

Browse files
committed
add flow annotation
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent e991461 commit b9ec25b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/vector/platform/ElectronPlatform.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
6767
dis.register(_onAction);
6868
}
6969

70-
getHumanReadableName() {
70+
getHumanReadableName(): string {
7171
return 'Electron Platform';
7272
}
7373

‎src/vector/platform/VectorBasePlatform.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class VectorBasePlatform extends BasePlatform {
3535
this._updateFavicon();
3636
}
3737

38-
getHumanReadableName() {
38+
getHumanReadableName(): string {
3939
return 'Vector Base Platform';
4040
}
4141

‎src/vector/platform/WebPlatform.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class WebPlatform extends VectorBasePlatform {
3131
this.runningVersion = null;
3232
}
3333

34-
getHumanReadableName() {
34+
getHumanReadableName(): string {
3535
return 'Web Platform';
3636
}
3737

0 commit comments

Comments
 (0)