-
Consider the following schema:
```typescript
const mySchema = schema(
{
foo: Types.string(),
bar: Types.string()
});
const MyModel = papr.model('mymodels', mySchema);
```
Now …
-
As noted in #1728, `Value.deserialize` can be used to implement `cast`. Which might not seem so bad, except you can use it to completely subvert the type system. Here is a program which defines a term…
-
Currently type-safe templates still allows unknown variable names, with no error neither at compile time (`compile`) nor at runtime (`apply`) defeating the whole purpose of type safety.
It's not cl…
tobia updated
4 years ago
-
There are two significant problems with Aktors as it stands:
1) My assumption is that performance is considerably hurt by dynamic dispatch used rampantly
2) You can send a message to an actor t…
-
Based on this discussion: https://github.com/openmsupply/open-msupply/pull/1252#discussion_r1120823118, please read it for context.
Main concern is that localisations are not fully type safe:
**…
-
### Feature request
Make callback accept a generic argument to type the the args returned in the `Expression`
-
### Which @angular/* package(s) are relevant/related to the feature request?
core
### Description
The current object-literal-based providing syntax cannot ensure:
1. The type of the provided…
-
### 🔍 Search Terms
as, satisfies, type assertion, type casting
### ✅ Viability Checklist
- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X] This wouldn't change t…
-
### Which @angular/* package(s) are relevant/related to the feature request?
core
### Description
When a component is created via the `createComponent` method on `ViewContainerRef`, there are two w…
-
**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)
…