explcit any are now warning and fixed other ci problems in zoe's code

This commit is contained in:
Clément Le Bihan
2023-12-01 16:44:48 +01:00
parent a36afa3a47
commit 3f0c2472cb
3 changed files with 9 additions and 8 deletions
+6 -6
View File
@@ -1,7 +1,7 @@
import React from "react";
import "react-native";
import React from 'react';
import 'react-native';
declare module "react-native" {
declare module 'react-native' {
interface PressableStateCallbackType {
hovered?: boolean;
focused?: boolean;
@@ -16,7 +16,7 @@ declare module "react-native" {
interface TextProps {
href?: string;
hrefAttrs?: {
rel?: "noreferrer";
rel?: 'noreferrer';
target?: string;
};
}
@@ -24,8 +24,8 @@ declare module "react-native" {
dataSet?: Record<string, string>;
href?: string;
hrefAttrs?: {
rel: "noreferrer";
target?: "_blank";
rel: 'noreferrer';
target?: '_blank';
};
onClick?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
}