hegel icon indicating copy to clipboard operation
hegel copied to clipboard

An advanced static type checker

Results 108 hegel issues
Sort by recently updated
recently updated
newest added

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:...

enhancement

How could we accomplish Hegel to work with JSX?

enhancement

```typescript class Predicate { p : T => boolean constructor (p : T => boolean) { this.p = p } contramap(f : U => T): Predicate { return new Predicate(x...

bug

Hi, here is what I mean : ![imagen](https://user-images.githubusercontent.com/38218036/90894280-a33aff00-e3c0-11ea-9ab3-e814aef332c0.png) This can be useful to write "extension methods" [try](https://hegel.js.org/try#MYGwhgzhAEDC5WgbwFAF8UvpCA6ADgE4D2ALmQJ74Cm0A9HdNYSYUA)

bug

I don't have a minimal reproduction yet, but it seems to be related to the interpretation of `.hegelrc` file. If in `.hegelrc` I put: ```yaml environment: browser include: - ./src/**/*.js...

bug

Hi I wander why this is not possible ![imagen](https://user-images.githubusercontent.com/38218036/90897346-47bf4000-e3c5-11ea-9054-20d0b5df3018.png) [try](https://hegel.js.org/try#DYUwLgBAbgXBDeA6ZBfCBeBKBQVHAHtgMIAWAbmyuyA) It's a pity that this is not supported as is very common. For example : ![imagen](https://user-images.githubusercontent.com/38218036/90897793-f5325380-e3c5-11ea-959a-6f9e49b23a5c.png) By the way the...

enhancement

Seems it doesn't support in hegel? ```ts class Base {} class Foo extends Base {} const fooArr: Array = [new Foo()]; const baseArr: Array = fooArr; ``` [playground](https://hegel.js.org/try#MYGwhgzhAEBCkFNoG8C+AoUkYDED2e0CAHgC4IB2AJjPBEmupnhRKdAGYECCATrwC5ofXmACeAHnx4AfNAC80ANoUEAd2jSAFAEoAugG5mrdgCNEIoSPES6COYq54RBoA)

enhancement
question

I suggested this in #298 but now that I've brought in all those test cases I don't know what to do with it?! Since Babel is parsing the code into...

```ts function makeTuple(x,y) { return [x,y] } const makeTuple(1,2); // currently `Array`. Hoping for `[1, 2]` ``` I wish this was automatically inferred instead of defaulting to `Array`. Is there...

enhancement

This is gonna be a good sanity check https://github.com/tc39/test262

enhancement