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

First of all thank you for such a great project. I really like it 👍 I was playing around generic function and found that this code show the error: ```ts...

bug

I'm getting the following error when attempting to extend built-in classes. ``` Cannot use 'in' operator to search for 'start' in undefined ``` The following examples produce the error: ```js...

bug

The following plain JS doesn't work: ```js function Foo(Base) { return class Foo extends Base { foo() { console.log('foo') } } } class Bar { bar() { console.log('bar') } }...

enhancement

I've been trying to get vscode extension running, ran into this issue. would be helpful if you could KT

bug

Hey, cool project. Was wondering if you're planning on supporting [comment syntax](https://flow.org/en/docs/types/comments/). I use that w/ flow.js to avoid a build step. Would be great if hegel had something similar

enhancement

How to use hegel.js with react application created with create-react-app. Thanks in advance.

enhancement
question

Currently is imposible to describe computed property name, thats is incompatible with ES https://hegel.js.org/try#MYewdgzgLgBADgJxHApgqBPAcgQwLYowC8MA5IsmprgaQFABmArmMFAJbgzAIo5QoA8gCMAVgAoA1igwAaeEjgBKGAG86MTTF5QmCMGo1bjAbWkYAugC4FyI5oC+dJ3VCRYIMcW69+QseIUqOjY+CjyACwATEp0cW7QMOYAajgANkyEJJ6iAHTmruCJQVShBKkZWTA5uSUhNChAA ![image](https://user-images.githubusercontent.com/27290320/79900942-b68c8c80-8417-11ea-98f7-0fb7664d8c39.png)

bug
enhancement

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

enhancement
question

First time I try Hegel on an existing javascript codebase, I just installed the module and: ``` ✗ npx hegel Cannot read property 'argumentsTypes' of undefined ``` any ideas?

question

```js async function foo(val: T) { const v = await val; return v; } async function test() { const promise = Promise.resolve(1); const val = await foo(promise); const a =...

bug
invalid