diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-08-08 18:12:26 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-08-08 19:05:27 +0200 |
| commit | 8d3f558cb9621c41c5962761eb58025fb4898c62 (patch) | |
| tree | 1323fbb54c7a922b86737247334c384f703f1cd9 /app/lib | |
| parent | f1d3451e8b5ec4555c57284be182fef98dcd3752 (diff) | |
| download | mullvadvpn-8d3f558cb9621c41c5962761eb58025fb4898c62.tar.xz mullvadvpn-8d3f558cb9621c41c5962761eb58025fb4898c62.zip | |
Add missing @flow
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/formatters.js | 1 | ||||
| -rw-r--r-- | app/lib/keyframe-animation.js | 1 | ||||
| -rw-r--r-- | app/lib/platform.android.js | 1 | ||||
| -rw-r--r-- | app/lib/platform.js | 1 | ||||
| -rw-r--r-- | app/lib/problem-report.android.js | 1 | ||||
| -rw-r--r-- | app/lib/problem-report.js | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/app/lib/formatters.js b/app/lib/formatters.js index 437351621d..37d7460768 100644 --- a/app/lib/formatters.js +++ b/app/lib/formatters.js @@ -1,4 +1,5 @@ // @flow + export const formatAccount = (val: string): string => { // display number altogether when longer than 12 if (val.length > 12) { diff --git a/app/lib/keyframe-animation.js b/app/lib/keyframe-animation.js index 2961412230..028c95769a 100644 --- a/app/lib/keyframe-animation.js +++ b/app/lib/keyframe-animation.js @@ -1,4 +1,5 @@ // @flow + import { nativeImage } from 'electron'; import type { NativeImage } from 'electron'; diff --git a/app/lib/platform.android.js b/app/lib/platform.android.js index 5b3abb4496..e71c1facf7 100644 --- a/app/lib/platform.android.js +++ b/app/lib/platform.android.js @@ -1,4 +1,5 @@ // @flow + import { BackHandler, Linking } from 'react-native'; import { MobileAppBridge } from 'NativeModules'; import { version } from '../../package.json'; diff --git a/app/lib/platform.js b/app/lib/platform.js index 2ba438274f..cabb4951d9 100644 --- a/app/lib/platform.js +++ b/app/lib/platform.js @@ -1,4 +1,5 @@ // @flow + import fs from 'fs'; import { remote, shell } from 'electron'; import electronLog from 'electron-log'; diff --git a/app/lib/problem-report.android.js b/app/lib/problem-report.android.js index b0bee2264d..30a944e178 100644 --- a/app/lib/problem-report.android.js +++ b/app/lib/problem-report.android.js @@ -1,4 +1,5 @@ // @flow + import { MobileAppBridge } from 'NativeModules'; const collectProblemReport = (toRedact: string) => { diff --git a/app/lib/problem-report.js b/app/lib/problem-report.js index df302bd908..19d24f3e0f 100644 --- a/app/lib/problem-report.js +++ b/app/lib/problem-report.js @@ -1,4 +1,5 @@ // @flow + import { ipcRenderer } from 'electron'; import uuid from 'uuid'; |
