Skip to content

Commit

Permalink
(siingle-focus-trap/types.ts) Remove vestinges of old typings.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviDevMod committed Nov 12, 2022
1 parent 43af9b3 commit 30f851e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/single-focus-trap/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export interface TrapConfig {
}

// The shape of the config used internally by the singleton instance of `SingleTrap`.
// The `returnFocus` in `Config` is the one resolved to its default, while
// The `returnFocus` in `Config` is the one possibly resolved to its default, while
// the resolved `initialFocus` is never stored in `this.config`, just consumed straight away.
export type Config = Omit<TrapConfig, 'roots' | 'initialFocus' | 'returnFocus'> & { roots: HTMLElement[] } & {
export type Config = Omit<TrapConfig, 'initialFocus' | 'returnFocus'> & {
returnFocus?: Focusable;
};

Expand Down

2 comments on commit 30f851e

@vercel
Copy link

@vercel vercel bot commented on 30f851e Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

focus-trap-demo-q37s – ./apps/demo

focus-trap-demo-q37s.vercel.app
focus-trap-demo-q37s-davidevmod.vercel.app
focus-trap-demo-q37s-git-main-davidevmod.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 30f851e Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

focus-trap-demo – ./apps/demo

focus-trap-demo-git-main-davidevmod.vercel.app
focus-trap-demo.vercel.app
focus-trap-demo-davidevmod.vercel.app

Please sign in to comment.