Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1751

Cast unbox to primitive

$
0
0

This looks interesting, in my code I do have two generic parameters:

  /// https://firebase.google.com/docs/reference/js/firestore_.querydocumentsnapshot.md#querydocumentsnapshot_class
  type query<'documentdata, 'metadata>

// does not work: The type constructor query expects 2 argument(s),
// but is here applied to 1 argument(s)
  type collectionReference<'documentdata, 'metadata> = query<[#collectionReference]>

Could I still use this? Or am I stretching it?


Viewing all articles
Browse latest Browse all 1751

Trending Articles