Skip to content

Commit b479047

Browse files
committed
mkTupleInstances 5
1 parent 846f4de commit b479047

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Data/Aeson/TypeScript/Instances.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ instance (TypeScript a, TypeScript b) => TypeScript (Either a b) where
123123
]
124124

125125
-- Derive instance TypeScript (a, b), instance TypeScript (a, b, c), etc. up to size 10
126-
mkTupleInstances 10
126+
mkTupleInstances 5
127127

128128
instance forall a k (b :: k). (Typeable k, Typeable b, TypeScript a) => TypeScript (Const a b) where
129129
getTypeScriptType _ = getTypeScriptType (Proxy :: Proxy a)

0 commit comments

Comments
 (0)