-
This is the place to discuss specifics of how node will determine the mode a given a source (file / source string). Source string examples include stdin or `-e`, they do not include JS `Function` or …
bmeck updated
6 years ago
-
Particularly for features like decorators, object rest/spread & public class fields
```js
// public class fields
class X {
static y = 'z'
foo = 'bar'
baz () {
return this.foo //…
-
Some properties in JavaScript are actually read-only, i.e. writes to them either fail silently or cause an exception. These should be modelable in TypeScript.
Previous attempts to design this have ru…
-
This proposal introduces four new number types: `int`, `uint`, `int` and `uint`, where N is any positive integer literal. An `int` is signed, it can contain negative integers, positive integers and ze…
-
Problem:
- Multi repo make it hard to tracking isue, issue in 1 sub package has less attention... We already know why Google, Facebook use Mono Repo pattern.
- Type definition is not align with js i…
-
Introduce two new syntax for type declaration based on JSDoc
``` typescript
var myString: !string = 'hello world'; //non-nullable
var myString1: ?string = 'hello world'; // nullable
var myString2: s…
-
According to the documentation, the first argument to this rule is either 'always' or 'never'
**Current behavior**: The default value of the first argument is 'never' so it throws a warning if an a…
-
And again, those are the two only reliable mechanisms allowing for truly extending schemas in an unambiguous fashion (yes, I love unambiguous definitions). Recall:
- `$merge` relies on [JSON Merge Pat…
-
Issues #24 and https://github.com/wycats/javascript-decorators/issues/23 concern a problem with the current decorator design that means that decorator functions may be called from two different contex…
-
I became interested in controversy from tweet.
I concluded that await comes from natural language await.
However, it was pointed out by others that C# specifications are written as async + w…