import { type CamelCasedProperties } from "https://deno.land/x/actionify@0.3.0/src/deps/types.ts";
Convert object properties to camel case but not recursively.
This can be useful when, for example, converting some API types from a different style.
Examples
Example 1
Example 1
import type {CamelCasedProperties} from 'type-fest';
interface User {
UserId: number;
UserName: string;
}
const result: CamelCasedProperties<User> = {
userId: 1,
userName: 'Tom',
};