use tsx, update dependencies

This commit is contained in:
Joseph Garrone 2024-06-15 11:21:09 +02:00
parent a6c22f9c8c
commit cd455eb5a6
6 changed files with 593 additions and 489 deletions

View file

@ -1,7 +1,5 @@
export function MyReactComponent() {
return <div>My React Component</div>;
return <div>My React Component</div>;
}
export default MyReactComponent;
export default MyReactComponent;

View file

@ -2,4 +2,4 @@
export function capitalize<S extends string>(str: S): Capitalize<S> {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return (str.charAt(0).toUpperCase() + str.slice(1)) as any;
}
}

View file

@ -1 +1 @@
export * from "./capitalize";
export * from "./capitalize";