Viewing profile — mohamedhegazy
mohamedhegazy
HN member- Joined
- Thu, Sep 17, 2015, 2:34 AM UTC
- HN karma
- 72
- Public activity
- 12 items
- HN profile
- View on Hacker News ↗
About mohamedhegazy
No profile information was provided.
Recent public activity
-
comment
Comment #14648428
No. TypeScript has no dependency on classes the way Java or C# does; nor is class-oriented code the recondeded style by the TS team. As a matter of fact the typescript compiler cor…
-
comment
Comment #14213162
you could. jsut add `@ts-check` in your .js file, open it in VSCode, or pass it to the `tsc --allowjs a.js` on the commandline.
-
comment
Comment #14212971
TypeScript allows for JSDoc Comments for types in .js files with `--allowJs`. you do not need to change your code for that. See https://github.com/Microsoft/TypeScript/wiki/JSDoc-s…
-
comment
Comment #13708278
TypeScript has `--target ESNext` this will strip out any TypeScript-specific type annotations, and leave you with standard-track-only JS code that looks identical to your input (mo…
-
comment
Comment #13707777
Without `--strictNullChecks`, both `undefined` and `null` are in the domain of all types.
-
comment
Comment #13127057
`--noImplicitAny` is the recommended flag. It is not set by default to ease the use on JS code bases. The new changes makes `--noImplicitAny` require less type annotations; where t…
-
comment
Comment #13127020
You can just use `--target ESNext` and this will disable all ES features transformations and just erase types.
-
comment
Comment #12861312
We have been testing this on insider builds of vscode for a few weeks as well as preview builds of visual studio with no issues. We were just notified today by npm that we are floo…
-
comment
Comment #12861295
The TypeScript team will do feature work to minimize npm requests via a well-known cached list of packages.
-
comment
Comment #12558821
async-await transpilation for ES5/ES3 target is already available in the nightly drops of TS (`typescript@next`).
-
comment
Comment #12558333
async-await for ES5/ES3 is already available in `typescript@next`. give it a try.
-
comment
Comment #10231276
If you are using VS 2015, TypeScript is accessible through the Extensions & updates window. For downloading plugin for VS 2015 available at: http://www.microsoft.com/en-us/download…