Skip to content

"use strict" is emitted on same line as shebang trivia #5928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
basarat opened this issue Dec 4, 2015 · 1 comment
Closed

"use strict" is emitted on same line as shebang trivia #5928

basarat opened this issue Dec 4, 2015 · 1 comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@basarat
Copy link
Contributor

basarat commented Dec 4, 2015

With #5765

Code :

#! /usr/bin/env node
import express = require("express");

JS:

#! /usr/bin/env node"use strict";
var express = require("express");

Expected:

#! /usr/bin/env node
"use strict";
var express = require("express");
@vladima vladima added the Bug A bug in TypeScript label Dec 4, 2015
@vladima
Copy link
Contributor

vladima commented Dec 4, 2015

@weswigham can you take a look?

basarat added a commit to alm-tools/alm that referenced this issue Dec 4, 2015
weswigham added a commit that referenced this issue Dec 4, 2015
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Dec 4, 2015
@mhegazy mhegazy added this to the TypeScript 1.8 milestone Dec 4, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

4 participants