Skip to content

Commit

Permalink
💄 Gloss: Fix Linter-Related Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Apr 22, 2023
1 parent 6033089 commit 9de1f9e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/ModalView/ModalViewConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export const VirtualizedListContext = React.createContext(null);

// fix for react-native 0.60
export const hasScrollViewContext: boolean =
(ScrollView as any).Context?.Provider != null;
(ScrollView as any).Context?.Provider != null;
4 changes: 2 additions & 2 deletions src/components/ModalView/ModalViewEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import type {

import type { KeyMapType } from '../../types/UtilityTypes';

import type {
import type {
ModalViewEmitterEventMapDeprecated,
ModalViewEmitterEventsDeprecated
ModalViewEmitterEventsDeprecated,
} from './ModalViewEmitterDeprecated';

export enum ModalViewEmitterEvents {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ModalView/ModalViewProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ export type ModalViewDeprecatedProps = {

// prettier-ignore
export type ModalViewProps =
ViewProps & ModalViewBaseProps & ModalViewDeprecatedProps;
ViewProps & ModalViewBaseProps & ModalViewDeprecatedProps;
3 changes: 1 addition & 2 deletions src/native_components/RNIModalView/RNIModalViewEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,10 @@ export type OnModalWillBlurEvent = (event: OnModalWillBlurEventObject) => void;

export type OnModalDidBlurEvent = (event: OnModalDidBlurEventObject) => void;


export type OnModalDetentDidComputeEvent = (
event: OnModalDetentDidComputeEventObject
) => void;

export type OnModalDidChangeSelectedDetentIdentifierEvent = (
event: OnModalDidChangeSelectedDetentIdentifierEventObject
) => void;
) => void;
2 changes: 1 addition & 1 deletion src/types/ViewModuleRelatedTypes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// TODO: TODO:2023-03-04-13-22-34 - Refactor: Remove
// TODO: TODO:2023-03-04-13-22-34 - Refactor: Remove
// `ViewModuleRelatedTypes`
//
// * Move this file (i.e. `ViewModuleRelatedTypes`) to
Expand Down

0 comments on commit 9de1f9e

Please sign in to comment.