Migrate WindowsDevice from js to tsx

Summary: As per the title

Reviewed By: jknoxville

Differential Revision: D16668705

fbshipit-source-id: 520981f2c1356a17561203f18e00f65a751ee8b8
This commit is contained in:
Pritesh Nandgaonkar
2019-08-09 07:47:34 -07:00
committed by Facebook Github Bot
parent 2ed24c4a56
commit 0c0d595cbb
2 changed files with 3 additions and 4 deletions

View File

@@ -5,13 +5,12 @@
* @format
*/
import BaseDevice from './BaseDevice.tsx';
import BaseDevice from './BaseDevice';
export default class WindowsDevice extends BaseDevice {
os = 'Windows';
constructor() {
super('', 'physical', 'Windows');
this.os = 'Windows';
}
teardown() {}

View File

@@ -9,7 +9,7 @@ import type {Store} from '../reducers/index.tsx';
import type {Logger} from '../fb-interfaces/Logger.js';
import MacDevice from '../devices/MacDevice.tsx';
import WindowsDevice from '../devices/WindowsDevice';
import WindowsDevice from '../devices/WindowsDevice.tsx';
export default (store: Store, logger: Logger) => {
let device;