EN VI
Posts (0)
Questions (3)
2024-03-09 23:00:06
You can slightly change your generic constraint to achieve this: interface Library< Materials extends Record > { materials: Materials; meshes: Record; } function loadLibrary(lib: Library) {} l...
2024-03-13 12:00:07
Replace: const b = new DatabaseContext().with("no", from("bar").select("")) with: const b = new DatabaseContext().with("no", from("bar").select("")) ...and after that, the squggly line should now wo...
2024-03-13 21:00:06
You need an extra type parameter to the component to capture the actual key that is being used: function Tab(list: T[], col: Col): JSX.Element { //... } Playground Link

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login