Windows 10: Announcing TypeScript 2.5 RC

Discus and support Announcing TypeScript 2.5 RC in Windows 10 News to solve the problem; Today we’re happy to announce our RC of TypeScript 2.5. To get started with the latest stable version of TypeScript, you can grab it through NuGet, or... Discussion in 'Windows 10 News' started by Brink, Aug 17, 2017.

  1. Brink
    Brink New Member

    Announcing TypeScript 2.5 RC


    Notice that unusedError is never referenced in the above example. TypeScript 2.5 introduces a late-stage ECMAScript feature to make the catch binding optional in try/catch statements. That means we can just omit unusedError altogether:

    Code: let contents; try { contents = fs.readFileSync('.config_file').toString('utf8'); } catch { // File might not exist, just fall back to some defaults. contents = createDefaultContents(); }[/quote]
    Thanks to Tingan Ho for his contribution on this feature!

    Deduplicated and redirected packages

    When importing using the Node module resolution strategy in TypeScript 2.5, the compiler will now check whether files originate from “identical” packages. If a file originates from a package with a package.json containing the same name and version fields as a previously encountered package, then TypeScript will redirect itself to the top-most package. This helps resolve problems where two packages might contain identical declarations of classes, but which contain private members that cause them to be structurally incompatible. It also reduces the memory and runtime footprint of the compiler and language service.

    The --preserveSymlinks compiler flag

    TypeScript 2.5 brings the preserveSymlinks flag, which parallels the behavior of the --preserve-symlinks flag in Node.js. This flag also exhibits the opposite behavior to Webpack’s resolve.symlinks option (i.e. setting TypeScript’s preserveSymlinks to true parallels setting Webpack’s resolve.symlinks to false, and vice-versa).

    In this mode, references to modules and packages (e.g. imports and /// <reference type="..." /> directives) are all resolved relative to the location of the symbolic link file, rather than relative to the path that the symbolic link resolves to. For a more concrete example, we’ll defer to the documentation on the Node.js website.

    What next?

    While we’ll continue to improve TypeScript before the full 2.5 release, we also have a few other ideas for TypeScript 2.6 that are under way. Some things we’ll be working on in the meantime are improvements to TypeScript’s --watch mode, and integration with other tools that have file-watching functionality. Our aim is to ensure that as codebases grow larger, TypeScript can give lightning-fast turnaround between the time that you save a file, and the time that you can reload your project. You can keep an eye on our pull request for changes to --watch for the work we’ve done so far.

    Thanks for reading, and we hope you give our release candidate a try!

    [/quote]
    Source: Announcing TypeScript 2.5 RC | TypeScript

    :)
     
    Brink, Aug 17, 2017
    #1

  2. Windows Explorer crashing

    I tried removing the Windows Security Update and after a reboot, problem still occurs when file explorer sees a typescript file. File explorer crashes.
     
    norricorp10, Aug 17, 2017
    #2
  3. Features in Firmware Update PR 1.2 and its Expected Release date ?

    im guessing you dl'd a rc. some people have reported issues with the rc going around, such as problems with the conversations app, etc.



    official release will be as soon as theyve verified the stability of the OS.



    next upgrade will be either a maemo pr1.3 or meego. nokia have already announced that meego may be available as a standalone flash image or as a dual boot image, both of which require flashing through your pc. it will most likely not be available as a standalone
    update.



    nokia have also mentioned that they will try to implement all existing features of maemo5 into meego, but they have mentioned that there may be some minor functionality lost.



    personally i would just wait for someone to release a review about meego before id touch it.
     
    Sever---01, Aug 17, 2017
    #3
Thema:

Announcing TypeScript 2.5 RC

Loading...
  1. Announcing TypeScript 2.5 RC - Similar Threads - Announcing TypeScript

  2. Windows Magnifer - Why does Read From here feature keeps announcing "EA Work Window"

    in Windows 10 Gaming
    Windows Magnifer - Why does Read From here feature keeps announcing "EA Work Window": Hello! I'm stumped and confused and could use some help and assistance. The issue I'm having is when launching Windows Magnifier and selecting either the Read From Here button or using CTRL + ALT + Left Click - Magnifier announces `EA Work Window.` This is the name of my...
  3. Windows Magnifer - Why does Read From here feature keeps announcing "EA Work Window"

    in Windows 10 Software and Apps
    Windows Magnifer - Why does Read From here feature keeps announcing "EA Work Window": Hello! I'm stumped and confused and could use some help and assistance. The issue I'm having is when launching Windows Magnifier and selecting either the Read From Here button or using CTRL + ALT + Left Click - Magnifier announces `EA Work Window.` This is the name of my...
  4. Announcing TypeScript 3.3

    in Windows 10 News
    Announcing TypeScript 3.3: Today we’re happy to announce the availability of TypeScript 3.3! If you’re unfamiliar with TypeScript, it’s a language that brings static type-checking to JavaScript so that you can catch issues before you even run your code – or before you even save your file. It also...
  5. Announcing TypeScript 3.3 Release Candidate

    in Windows 10 News
    Announcing TypeScript 3.3 Release Candidate: Today we’re happy to announce the availability of our release candidate (RC) of TypeScript 3.3. Our hope is to collect feedback and early issues to ensure our final release is simple to pick up and use right away. To get started using the RC, you can get it through NuGet, or...
  6. Announcing TypeScript 3.0

    in Windows 10 News
    Announcing TypeScript 3.0: TypeScript 3.0 is here! Today marks a new milestone in the TypeScript journey, serving JavaScript users everywhere. If you’re unfamiliar with TypeScript, it’s not too late to learn about it now! TypeScript is an extension of JavaScript that aims to bring static types to...
  7. Announcing TypeScript 2.7

    in Windows 10 News
    Announcing TypeScript 2.7: Today we’re proud to announce the release of TypeScript 2.7! If you’re not familiar with TypeScript, it’s a language that brings optional static types to JavaScript by building on JavaScript itself. Running TypeScript code through its compiler emits clean readable...
  8. Announcing JavaScript extension TypeScript 2.2 update

    in Windows 10 News
    Announcing JavaScript extension TypeScript 2.2 update: Today our team is happy to present our latest release with TypeScript 2.2!For those who haven’t yet heard of it, TypeScript is a simple extension to JavaScript to add optional types along with all the new ECMAScript features. TypeScript builds on the ECMAScript standard and...
  9. Announcing TypeScript 2.5

    in Windows 10 News
    Announcing TypeScript 2.5: Today we’re happy to bring you TypeScript 2.5! If you’ve readour RC announcement, we’ve got a few new items that we’re proud to highlight! If you’re not familiar with TypeScript, it’s a typed superset of JavaScript. More simply put, it’s just JavaScript with optional...
  10. Announcing TypeScript 2.1

    in Windows 10 News
    Announcing TypeScript 2.1: We spread ourselves thin, but this is the moment you’ve been awaiting – TypeScript 2.1 is here! For those who are unfamiliar, TypeScript is a language that brings you all the new features of JavaScript, along with optional static types. This gives you an editing experience...