ngregory-rbi
ngregory-rbi
> "Type expression" sounds like something that operates on types only... I disagree. An adjective does not describe an operand but a property of the thing itself. In math, we...
> You have a point, but in TypeScript there is this dichotomy between values and types. And when it's needed to specify one of these contexts, this kind of wording...
@thorn0 I meant more the two segments here: > On the other hand, I just noticed that the TS team strictly avoids using the word "expression" for type-only things, which...
Please merge this as soon as possible :)
Ok, I found a solution... sorta: ``` { ... preset: 'import-types-preset', presetConfig: { typesPath: './operations', importTypesNamespace: 'Operations', }, plugins: ['typed-document-node'], config: { typesPrefix: 'Operations.', }, ... } ``` I don't...
The docs for `typescript-document-node` list a config option called `documentNodeImport` with the following message: > Customize from which module will `DocumentNode` be imported from. This is useful if you want...
> https://github.com/react-navigation/react-navigation/blob/main/packages/core/src/types.tsx#L713 It looks like it exists in the repo, but not in the published package? EDIT: Ok, maybe it actually does? But it does not seem to solve the...
Eh? More that I am using this in React Native, and `renderText` simply outputs a string, so I need to make sure that I always wrap those in a `Text`...
We have our own custom `Text` component that we use. Currently, I am using it for the different `block` types, so that works so far. I'm not sure though how...
Everyone is mentioned standard, but no one mentioned what standard specifically, so I thought I'd link it. EcmaScript 6 (ES6), which Hermes is [planning to target](https://github.com/facebook/hermes/blame/0957b5a/doc/Features.md#L6), requires ONLY date parsing...