Skip to content

Commit

Permalink
fix(eslint): Remove JQuery Thenable
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Sep 30, 2024
1 parent 3b7bf2f commit ed4e1cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/settings/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { SubmitInput } from './SubmitInput'
import { SortArrow } from './SortArrow'
import FlipMove from 'react-flip-move'
import AsyncSelect from 'react-select/async'
import Thenable = JQuery.Thenable;
import AdminGroupSelect from './AdminGroupSelect'
import SubAdminGroupSelect from './SubAdminGroupSelect'
import { loadState } from '@nextcloud/initial-state'
Expand Down Expand Up @@ -367,7 +366,7 @@ export class App extends Component<unknown, AppState> implements OC.Plugin<OC.Se
interface ManageAclSelectProps {
folder: Folder;
onChange: (type: string, id: string, manageAcl: boolean) => void;
onSearch: (name: string) => Thenable<{ groups: ManageRuleProps[]; users: ManageRuleProps[]; }>;
onSearch: (name: string) => Promise<{ groups: ManageRuleProps[]; users: ManageRuleProps[]; }>;
}

// eslint-disable-next-line jsdoc/require-jsdoc
Expand Down

0 comments on commit ed4e1cd

Please sign in to comment.