Convert serialization.js to TS

Summary:
Convert serialization to typescript.

I tried to type the deserialize function but don't know enough about the expected format to be able to tell what the types should be.

Reviewed By: passy

Differential Revision: D16785945

fbshipit-source-id: 45de7ee1c8972314a52abcf20d428ba44f031a00
This commit is contained in:
John Knox
2019-08-15 07:29:11 -07:00
committed by Facebook Github Bot
parent d0da0d66a5
commit ce3f69c249
3 changed files with 10 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ import {listDevices} from '../src/utils/listDevices.tsx';
import setup from '../static/setup.js';
import type {Store} from '../src/reducers/index.tsx';
import {getPersistentPlugins} from '../src/utils/pluginUtils.tsx';
import {serialize} from '../src/utils/serialization';
import {serialize} from '../src/utils/serialization.tsx';
import type BaseDevice from '../src/devices/BaseDevice.tsx';
import {getStringFromErrorLike} from '../src/utils/index.tsx';