Tsotne Nazarashvili
Tsotne Nazarashvili
```ts type AA = { a:? number, b:? number, c:? string, } const a: AA = {}; if(a.a !== undefined && a.b !== undefined && a.c !== undefined) {// error:...
i will use - writable instead of mutable - readonly instead of immutable - functionality instead of behaviour so it's easier to read ## examples ```ts // writable binding of...
because javascript has insane number of different implementations where it can be executed (e.g. chrome, firefox, nodejs, deno, [njs](https://nginx.org/en/docs/njs/)) and all of those implementations have different versions and user/developer will...
supporting Existential Type will cut down boilerplate code that sometimes is needed to achieve same result for example this ```js const FEATURES: $Immutable = { SORTING: 'Sorting', FILTERING: 'Filtering', REORDERING:...
if we split docs and playground in separate projects docs can be migrated to use hegel as well and also codebase for docs can be much simpler then it is...
```ts const arr01: Array = [] const arr02: Array = new Array// should work ``` [try](https://hegel.js.org/try#MYewdgzgLgBAhgJwQBgIwC4YEElwJ4A8YArgLYBGApggHwwC8MA2gLoBQoksiKATJjgT4iZKrQYwwlAO7ZceAPQKYEABYhiAGwAmMaSAQBrNkA)
there is two major problems with having VS Code extension + language server in same package 1. VS Code extension will only support latest version of hegel breaking any project's...
```ts class Cotne { name: ?string setName(name) { this.name = name } } const cotne = new Cotne cotne.name = "not cotne"// ok cotne.setName("not cotne")// ok const readonly_cotne: $Immutable =...
let's rename `Magic Types` into something that does not sound like i am doing something wrong or unsafe see [Magic (programming)](https://en.wikipedia.org/wiki/Magic_(programming)) for example flow uses name [Utility Types](https://flow.org/en/docs/types/utilities/) that sounds...
ok so i was planning to try and use hegel in real project to see what is missing and what's not. so i decided to first extract my project setup...