Skip to content

Commit 62f1441

Browse files
committed
clean up comments
1 parent 77c9751 commit 62f1441

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/backend/__tests__/linkFiber.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ let browser;
2121
let page;
2222

2323
class App extends Component {
24+
state: { foo: string; };
2425
constructor(props) {
2526
super(props);
2627
this.state = { foo: 'bar' };

src/backend/__tests__/timeJump.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable @typescript-eslint/ban-types */
2+
/* eslint-disable @typescript-eslint/no-unused-vars */
13
/* eslint-disable @typescript-eslint/no-empty-function */
24
/* eslint-disable @typescript-eslint/no-var-requires */
35
/* eslint-disable max-classes-per-file */

src/backend/types/backendTypes.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/* eslint-disable linebreak-style */
2+
/* eslint-disable @typescript-eslint/ban-types */
3+
/* eslint-disable @typescript-eslint/no-explicit-any */
14
import Tree from '../tree';
25

36
export interface Snapshot{
@@ -40,7 +43,7 @@ interface HookStateItem {
4043
component: any;
4144
}
4245

43-
export interface HookStates extends Array<HookStateItem> {}
46+
export type HookStates = Array<HookStateItem>
4447

4548
export interface State {
4649
state?: {} | number;
@@ -170,4 +173,4 @@ export type Fiber = {
170173
// This value bubbles up during the "complete" phase.
171174
// This field is only set when the enableProfilerTimer flag is enabled.
172175
treeBaseDuration?: number,
173-
};
176+
};

0 commit comments

Comments
 (0)