Skip to content

7.6.3 doesn't work es6 target #692

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
arusakov opened this issue Oct 29, 2015 · 2 comments
Closed

7.6.3 doesn't work es6 target #692

arusakov opened this issue Oct 29, 2015 · 2 comments

Comments

@arusakov
Copy link

tsconfig.json:

{
    "compilerOptions": {
        "target": "es6"
    },
    "filesGlob": [
        "./**/*.+(ts|tsx)",
        "./typings/tsd.d.ts"
    ],
    "files": [
        "./index.ts",
        "./typings/react/react.d.ts",
        "./typings/tsd.d.ts"
    ],
    "exclude": []
}

My index.ts:

import * as React from 'react';
console.log(React);

Build with F6 and index.js:

var React = require('react');
console.log(React);
@basarat
Copy link
Member

basarat commented Oct 30, 2015

Sorry, you can watch this issue and till it gets resolved lock your atom-typescript to an earlier version. apm install atom-typescript@versionWhichWorksForYou 🌹

Duplicate of microsoft/TypeScript#5110 and #643

@basarat
Copy link
Member

basarat commented Oct 30, 2015

@TypeStrong TypeStrong locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants