-
Currently, all kinds of physical quantities are represented with pure f32s. Use custom types instead. It has the following benefit:
* Currently, the units have to be documented and sometimes be par…
-
**Problem**
Examples are not 100% typesafe after I copy code I get a lot of type errors.
![image](https://github.com/ianstormtaylor/slate/assets/35369563/422c8a2f-9a60-4b7d-84e2-d77e5b017890)
…
-
Here is a bug reproduction:
```ts
import { mapToObj } from 'remeda'
interface FeatureFlagA {
name: 'a'
rule: 'allow' | 'deny'
}
interface FeatureFlagB {
name: 'b'
rule: 'allow' | …
-
### Clear and concise description of the problem
Would be nice to make `paths` be type safe to prevent errors.
```ts
export const usePlayerStore = defineStore("player", () => {
return {
…
-
## Description
Many of the bugs that we encounter in this application are due to the fact that Typescript is not safe-by-default when it comes to indexed access in arrays and objects/records. The typ…
-
- safe args
reference)
https://medium.com/@mangbaam/android-compose-navigation-%ED%83%80%EC%9E%85-%EC%95%88%EC%A0%95%EC%84%B1-%EC%A7%80%EC%9B%90-b5ae3ef0e050
-
There are many third party libraries, which aim to provide functional programming tools. Examples of this are fn.py and and funcy. They both provide a `compose` function that allows you to chain toget…
-
Thanks for stopping by to ask us a question! Please make sure to include:
- What you're trying to do
- What code you've already tried
- Any error messages you're getting
**PLEASE READ**: If you …
-
### Why it is needed?
I'm trying to create a hook that behaves like `useState` for interacting with route params.
### Possible implementation
Here's my attempt at an implementation, but I ca…
-
### The Problem
Currently, [`TestCaseData`](https://docs.nunit.org/articles/nunit/writing-tests/TestCaseData.html) uses type-erasure to allow users to pass whatever they want as arguments.
When d…