Skip to content

Conversation

rictic
Copy link
Contributor

@rictic rictic commented Nov 4, 2018

With these changes we have zero errors and zero warnings with RECOMMENDED_FLAGS!

Most of the changes were adding @override for methods and properties in mixins. Apparently if you implement an interface you need to say @override for each method or property on the interface. This combines with our mixin strategy to the tune of needing to add @override on every non-private method and property.

I'm not sure this is intended behavior of the compiler. Filed google/closure-compiler#3137 to see if it is.

Downstreamed as cl/220013205

kevinpschaaf and others added 4 commits August 28, 2018 14:48
With these changes we have zero errors and zero warnings with `RECOMMENDED_FLAGS`!

Most of the changes were adding `@override` for methods and properties in mixins. Apparently if you implement an interface you need to say `@override` for each method or property on the interface. This combines with our mixin strategy to the tune of needing to add `@override` on every non-private method and property.

I'm not sure this is intended behavior of the compiler. Filed google/closure-compiler#3137 to see if it is.
Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

This is awesome! I have 1 comment though, as I think that will break projects compiling with TS 3.

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

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

LGTM!

@rictic
Copy link
Contributor Author

rictic commented Nov 10, 2018

@azakus got the typescript types compiling too, PTAL

Copy link
Member

@kevinpschaaf kevinpschaaf left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinpschaaf kevinpschaaf merged commit d637b7a into master Feb 5, 2019
@kevinpschaaf kevinpschaaf deleted the strict-no-warnings branch February 5, 2019 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants