Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: fix type for general product
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed May 26, 2020
1 parent 2a7e0da commit 3b65799
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sections/products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
number,
oneOf,
optional,
record,
string,
unknown,
} from 'purify-ts'
Expand Down Expand Up @@ -155,7 +156,7 @@ interface ListMatchingProductsRequestParameters {
[key: string]: string | undefined
}

const Product = unknown
const Product = record(string, unknown)

const ListMatchingProducts = Codec.interface({
Products: ensureArray('Product', Product),
Expand Down

0 comments on commit 3b65799

Please sign in to comment.