From 4574b7f03ccc85c4bebdbfd9475788456086704f Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Thu, 8 Aug 2024 12:27:40 -0400
Subject: many changes to add typing in place of 'any's etc

---
 src/client/util/CaptureManager.tsx | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'src/client/util/CaptureManager.tsx')

diff --git a/src/client/util/CaptureManager.tsx b/src/client/util/CaptureManager.tsx
index 253cdd8b5..47f31612f 100644
--- a/src/client/util/CaptureManager.tsx
+++ b/src/client/util/CaptureManager.tsx
@@ -1,26 +1,24 @@
-/* eslint-disable jsx-a11y/no-static-element-interactions */
-/* eslint-disable jsx-a11y/click-events-have-key-events */
 import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
 import { action, computed, makeObservable, observable } from 'mobx';
 import { observer } from 'mobx-react';
 import * as React from 'react';
 import { addStyleSheet } from '../../ClientUtils';
-import { Doc } from '../../fields/Doc';
+import { Doc, Opt } from '../../fields/Doc';
 import { DocCast, StrCast } from '../../fields/Types';
 import { MainViewModal } from '../views/MainViewModal';
 import { DocumentView } from '../views/nodes/DocumentView';
 import './CaptureManager.scss';
 
 @observer
-export class CaptureManager extends React.Component<{}> {
+export class CaptureManager extends React.Component<object> {
     // eslint-disable-next-line no-use-before-define
     public static Instance: CaptureManager;
     static _settingsStyle = addStyleSheet();
-    @observable _document: any = undefined;
+    @observable _document: Opt<Doc> = undefined;
     @observable isOpen: boolean = false; // whether the CaptureManager is to be displayed or not.
 
     // eslint-disable-next-line react/sort-comp
-    constructor(props: {}) {
+    constructor(props: object) {
         super(props);
         makeObservable(this);
         CaptureManager.Instance = this;
-- 
cgit v1.2.3-70-g09d2

