Skip to content

Commit

Permalink
Fix Eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
steida committed Jul 16, 2024
1 parent 9ed608b commit a946184
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/native/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ScrollView, Text } from "react-native";
import { appStyles } from "./styles";
import { ReactNativeExample } from "./components/ReactNativeExample";

export default function App() {
export default function App(): React.JSX.Element {
return (
<ScrollView style={appStyles.container}>
<Text style={appStyles.h1}>React Native Example</Text>
Expand Down
2 changes: 1 addition & 1 deletion apps/native/src/components/TodoCategories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const TodoCategories: FC = () => {
onLeft: Function.constVoid,
onRight: (name) => {
create("todoCategory", {
name: name as any,
name,
json: { foo: "a", bar: false },
});
setText("");
Expand Down
1 change: 1 addition & 0 deletions apps/native/src/db/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { Database, indexes, NonEmptyString50 } from "./schema";

export * from "./schema";

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export const createDatabase = () =>
createEvolu(Database, {
indexes,
Expand Down

0 comments on commit a946184

Please sign in to comment.