github-actions[bot] a0f00e5017
Add node modules and new code for release (#168)
Co-authored-by: OliverMKing <OliverMKing@users.noreply.github.com>
2022-02-02 10:11:19 -05:00

23 lines
610 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/// <reference types="node" />
import { EventEmitter } from 'events';
declare type State = {
interrupted: boolean;
};
export default class TestWatcher extends EventEmitter {
state: State;
private _isWatchMode;
constructor({ isWatchMode }: {
isWatchMode: boolean;
});
setState(state: State): void;
isInterrupted(): boolean;
isWatchMode(): boolean;
}
export {};