Skip to content

Commit

Permalink
Merge pull request #186 from jglanz/master
Browse files Browse the repository at this point in the history
Fixed property key attribution in generic `createSimpleSchema<T>`
  • Loading branch information
mweststrate authored Oct 14, 2024
2 parents f8b9196 + c0c1011 commit fb544bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/createSimpleSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { Props, ModelSchema } from "./types";
* @param props property mapping,
* @returns model schema
*/
export default function createSimpleSchema<T extends object>(props: Props): ModelSchema<T> {
export default function createSimpleSchema<T extends object>(props: Props<T>): ModelSchema<T> {
return {
factory: function () {
return {} as any;
Expand Down

0 comments on commit fb544bb

Please sign in to comment.