Typescript js code gen tool overwrites an existing .js file with same name as the new .ts file without warning RRS feed

  • Question

  • Hi,

    I created a .ts file, "opta.ts" and the tool that generates the accompanying .js & .map files overwrote an existing opta.js file without warning or notification.

    I thought I was cracking up, lucky I have source control!

    Is there a setting I've overlooked that prevents this or is it find out the hard way and then just don't name .ts files the same as any existing files?

    I'm using VS 2017 Enterprise 15.5.4


    Monday, January 22, 2018 12:12 AM

All replies

  • Hi Steve,

    Welcome to the MSDN forum.

    Refer to your description, your issue seems about the TypeScript development. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://github.com/Microsoft/TypeScript/issues and start a new issue for a better support, thank you for your understanding.

    Best regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, January 22, 2018 7:35 AM