Giter Club home page Giter Club logo

typedoc-plugin-template's People

Contributors

sebastian-lenz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pushkov-fedor

typedoc-plugin-template's Issues

Grunt TypeScript build error.

Hello.

I got an error when I try to compile barebone typedoc-plugin-template.

Steps to reproduce:

$ git clone https://github.com/sebastian-lenz/typedoc-plugin-template.git
$ cd typedoc-plugin-template
$ npm install
$ grunt

Output the following error :

Running "ts:plugin" (ts) task
Compiling...
Fast compile will not work when --out is specified. Ignoring fast compilation
Using tsc v1.4.1
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(1474,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(1486,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(1505,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4306,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4372,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4485,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4489,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4498,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4524,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4525,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4526,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4527,9): error TS1153: 'let' declarations are only available when targeting ECMAScript 6 and higher.
/Volumes/Media/Projects/_tests/typedoc-plugin-template/src/lib/typescript/tsc.d.ts(4528,11): error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.

>> 13 syntax errors
>> Error: tsc return code: 1
Warning: Task "ts:plugin" failed. Use --force to continue.

If I change gruntfile.js and add target: 'es6' the compilation runs smoothly.

Is this change ( target: 'es6' ) desirable, I can make a pull request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.