summaryrefslogtreecommitdiff
path: root/src/web/app/init.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-28 00:11:28 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-28 00:11:28 +0900
commitdbc421cb571f69a4c71691c00b094925006b95fe (patch)
tree02a7e77b1545d120494a3b7f0487b45e1078f723 /src/web/app/init.ts
parentv3917 (diff)
downloadsharkey-dbc421cb571f69a4c71691c00b094925006b95fe.tar.gz
sharkey-dbc421cb571f69a4c71691c00b094925006b95fe.tar.bz2
sharkey-dbc421cb571f69a4c71691c00b094925006b95fe.zip
:v:
Diffstat (limited to 'src/web/app/init.ts')
-rw-r--r--src/web/app/init.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/init.ts b/src/web/app/init.ts
index 5c0b4c2d39..2e90d62d79 100644
--- a/src/web/app/init.ts
+++ b/src/web/app/init.ts
@@ -77,7 +77,7 @@ if (localStorage.getItem('should-refresh') == 'true') {
}
// MiOSを初期化してコールバックする
-export default (callback: (launch: (api: (os: MiOS) => API) => [Vue, MiOS]) => void, sw = false) => {
+export default (callback: (launch: (api?: (os: MiOS) => API) => [Vue, MiOS]) => void, sw = false) => {
const os = new MiOS(sw);
os.init(() => {