-
When setting up a prop type as:
`foo: Foo | void`
I get the following warning in my console:
> Warning: Failed prop type: The prop `foo` is marked as required in `MyComponent`, but it's value…
-
If I write a tuple type like `[Integer,Integer,Integer]`, then hovering it in the IDE I will see `Integer|Integer|Integer|Nothing[]`. That's because when I'm building these tuple types I'm not yet in …
-
The designated initializer feature in mbeddr should be reworked because various Exceptions are thrown when you play around with such a thing. A concrete example is this one:
struct Person {
int a…
-
If I add this to `expectType.ts.lint`:
```ts
// $ExpectType "foo" | "bar"
declare let t: 'foo' | 'bar';
```
and run `npm run build && npm run test`, then I get the following error:
```
…
danvk updated
5 years ago
-
Or any idea?
I have some attempts in this, but I have some problems. (about type guard)
-
**TL;DR** at the bottom 🙂
# Problem
The current `WidgetStateProperty` API is fantastic—there's a [Decoding Flutter video](https://youtu.be/CylXr3AF3uU) with a great explanation of why—but it…
-
**Bug Report**
When matching on a union between a named tuple and something else, class/as pattern binds to a type different than the named tuple.
That is, the body of `case Foo() as f…
-
The docs say that you get `WithDescendants`, but you don't. It's unclear when that happend, but it's a regression which versioned-admin and elemental now rely on. They can't just change their query to…
-
Version 1.4.0 of DRF-stubs and Following along with the DRF tutorial I've got the following pattern (mypy output inline in comments):
```python
urlpatterns = [
path("tree/", views.NodeList.as…
-
Hello,
Is it intentional for unions not to have a fingerprint, and thus to not implement `soe.AvroRecord`? We have a topic that has a union at the root level, so it's necessary for us to be able t…