Kyle Simpson
Kyle Simpson
Is there a way to configure this plugin so that it always uses a globally installed 'eslint'? I'm fine with it picking up local eslint configurations, but it's really troublesome...
In [this section](https://frontside.com/effection/docs/guides/labels#function-names) of the API docs, the following is said: > Function names > A final trick is that if our operation is a generator function, then we can...
This innocently seeming code is remarkably more complex to infer, and Typl correctly reports an error like a champ (where [TS](https://www.typescriptlang.org/play?noImplicitAny=false#code/G4QwTgBAnhC8EDMD2SAUBmAlAbgLAChRIAvOCAIgAsBTAG1qXIgGpo98CEBXAOwGMALgEskPRClQAPTBADeBAJBhqArmDGT2AXyA) and [Flow](https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVA3AhgJzATzAF4wo44AKAZgEoBuTXMAL2LACIALAUxnnbABqAg1RQArgDsAxgBcAlnEmlyFAB40wAb1QBIHN1nicytQwC+QA) do not): ```js var y = foo(3);...
```js function foo(x = number) { return true; } var x = foo`world`; ``` ``foo`world` `` should be validated as a call-expression, including both the template-literal (`` `world` ``) being...
```js const add = x => y => x + y; const a = add(1)(2); const b = add('a')('b'); const c = add(1)('b'); a - 1; ``` Expected results: 1....
This is an interesting idea that fits well with TypL's vision, should explore having it incorporated. https://twitter.com/mpjme/status/1127113416307630080
Need to be able to define a union type that can include multiple types. So... I'm imagining something like this: ```js var x = (union`int | string`)`42`; ``` **Note:** The...
* Object literals' type assignments to properties * Persistent object type signatures and array type signatures * Destructuring assignments need to be shape checked * Enforce param destructuring shape for...
- [x] Narrower number type inference #17 (requires #6 too) - [x] Enforce `bool` check on `if`, `while`, and `do..while` #7 - [ ] Persistent object/array type shapes #18 -...
```js function foo(v) { return v; } var x = foo(2); x = "hello"; // error: expected 'int' but found 'string' ```