Skip to content

Commit ce02465

Browse files
committed
Ignore weird TS errors
1 parent 2527c27 commit ce02465

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

generatedTypes/src/commons/modifiers.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export declare function extractModifierProps(props: Dictionary<any>): _.Dictiona
9090
* TODO:
9191
* @deprecated switch to Modifiers#extractComponentProps
9292
*/
93-
export declare function extractOwnProps(props: Dictionary<any>, ignoreProps: string[]): _.Omit<Partial<Dictionary<any>>, string>;
94-
export declare function extractComponentProps(component: any, props: Dictionary<any>, ignoreProps?: string[]): _.Omit<Partial<Dictionary<any>>, string>;
93+
export declare function extractOwnProps(props: Dictionary<any>, ignoreProps: string[]): _.Omit<_.Dictionary<any>, string>;
94+
export declare function extractComponentProps(component: any, props: Dictionary<any>, ignoreProps?: string[]): _.Omit<_.Dictionary<any>, string>;
9595
export declare function getThemeProps(props?: any, context?: any): any;
9696
export declare function generateModifiersStyle(options: {
9797
color: boolean;

src/components/scrollBar/ScrollBarGradient.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ const ScrollBarGradient = ({
8484
left: left ? gradientMargins : undefined
8585
}}
8686
>
87+
{/* @ts-expect-error */}
8788
<AnimatedImage
8889
source={gradientImage}
8990
style={{

src/helpers/AvatarHelper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export function patchGravatarUrl(gravatarUrl: string) {
6969
const {query} = url;
7070
query.d = '404';
7171
delete query.default;
72+
// @ts-expect-error
7273
url.set('query', query);
7374
return url.toString();
7475
}

0 commit comments

Comments
 (0)