react-closure-compiler icon indicating copy to clipboard operation
react-closure-compiler copied to clipboard

Add type inference for statics

Open mihaip opened this issue 10 years ago • 0 comments

We currently generate a dummy JSDocInfo in gatherStaticsJsDocs to appease the CheckSideEffects pass, but if the static is initialized with a function, number, etc. then we could generate a JSTypeExpression based on it.

mihaip avatar Apr 03 '15 04:04 mihaip