Migrate MacDevice from js to tsx
Summary: As per the title Reviewed By: jknoxville Differential Revision: D16668140 fbshipit-source-id: 109a7ce29a9dc3934673060e93741b96847dfa56
This commit is contained in:
committed by
Facebook Github Bot
parent
f408f3f949
commit
2ed24c4a56
@@ -5,13 +5,12 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import BaseDevice from './BaseDevice.tsx';
|
import BaseDevice from './BaseDevice';
|
||||||
|
|
||||||
export default class MacDevice extends BaseDevice {
|
export default class MacDevice extends BaseDevice {
|
||||||
os = 'MacOS';
|
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
super('', 'physical', 'Mac');
|
super('', 'physical', 'Mac');
|
||||||
|
this.os = 'MacOS';
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown() {}
|
teardown() {}
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
import type {Store} from '../reducers/index.tsx';
|
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';
|
import MacDevice from '../devices/MacDevice.tsx';
|
||||||
import WindowsDevice from '../devices/WindowsDevice';
|
import WindowsDevice from '../devices/WindowsDevice';
|
||||||
|
|
||||||
export default (store: Store, logger: Logger) => {
|
export default (store: Store, logger: Logger) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user