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:
committed by
Facebook Github Bot
parent
2ed24c4a56
commit
0c0d595cbb
@@ -5,13 +5,12 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import BaseDevice from './BaseDevice.tsx';
|
import BaseDevice from './BaseDevice';
|
||||||
|
|
||||||
export default class WindowsDevice extends BaseDevice {
|
export default class WindowsDevice extends BaseDevice {
|
||||||
os = 'Windows';
|
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super('', 'physical', 'Windows');
|
super('', 'physical', 'Windows');
|
||||||
|
this.os = 'Windows';
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown() {}
|
teardown() {}
|
||||||
@@ -9,7 +9,7 @@ import type {Store} from '../reducers/index.tsx';
|
|||||||
import type {Logger} from '../fb-interfaces/Logger.js';
|
import type {Logger} from '../fb-interfaces/Logger.js';
|
||||||
|
|
||||||
import MacDevice from '../devices/MacDevice.tsx';
|
import MacDevice from '../devices/MacDevice.tsx';
|
||||||
import WindowsDevice from '../devices/WindowsDevice';
|
import WindowsDevice from '../devices/WindowsDevice.tsx';
|
||||||
|
|
||||||
export default (store: Store, logger: Logger) => {
|
export default (store: Store, logger: Logger) => {
|
||||||
let device;
|
let device;
|
||||||
|
|||||||
Reference in New Issue
Block a user