Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

fix(ts options): turn on experimentalDecorators flag by default. #241

Closed
wants to merge 1 commit into from

Conversation

rkirov
Copy link
Contributor

@rkirov rkirov commented Jul 10, 2015

Typescript 1.5.3 release candidate throw errors on decorator usage
without this flag, which makes angular2 transpilation really noisy.

Typescript 1.5.3 release candidate throw errors on decorator usage
without this flag, which makes angular2 transpilation really noisy.
@@ -45,6 +45,7 @@ export interface TranspilerOptions {

export const COMPILER_OPTIONS: ts.CompilerOptions = {
allowNonTsExtensions: true,
experimentalDecorators: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM, but shouldn't this be a change in Angular that gets sent here via the options passed in the ctor?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah wait, we don't actually support that :-) Maybe we should, file an issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed, keeping this as it is, since don't have a single user who would want experimentalDecorators: false

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

3 participants