-
![image](https://user-images.githubusercontent.com/18494105/165250672-3b30fa16-5a3c-4553-8124-ab93ab6632b5.png)
**Is your feature request related to a problem? Please describe.**
might be someth…
-
There are certain locations where arrow functions don't parse
```ts
var x = window.foo || () => {}
```
In these instances, it would be nice if users could get a better error message as to avoi…
-
For example, the following:
``` js
/* Get stock data somehow */
var source = getStockData();
source
.filter(function (quote) {
return quote.price > 30;
})
.map(function (quote) {
r…
-
In the contract API reference documentation layout:
the padding between the name of a contract function/event and the content (blue arrow) is the same size (or bigger) than the padding between th…
-
to make the output closer to the "native" ES6 and make the a bit code more readable we can generate native JS arrow functions for our anonymous functions.
in addition we could look into using js ar…
-
Bonjour,
comme précisé dans le message d' un membre du forum
https://site.devome.com/fr/kunena/aide-a-l-utilisation-et-parametrag/1075-affichage-permanent-du-bandeau-superieur-au-niveau-de-toutes-l…
-
It seems like this code is not working properly:
```
function func1(n: number): boolean {
if (n > 1) {
return true;
} else {
return false;
}
}
const func2 = (n: number): boo…
-
I use arrow functions within my class, but "lines-between-class-members" doesn't work.
code:
``` js
class user {
public func1 = () => {
// some codes
}
public func2 = ()…
stlst updated
5 years ago
-
Using TypeScript overloading for Arrow-Functions gets little bit of.
The Output is still working, but not nice to read.
**Prettier 2.3.2**
[Playground link](https://prettier.io/playground/#N4Igxg…
-
Assume this code
```ts
class CounterState { // Your State
value = 0;
increment () {this.value +=1 }
}
const state = observable({
counter: new CounterState()
});
const C…