google / google/closure-compiler
Request for suppression tag for: cannot instantiate non-constructor
Open
Types
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
Please add a new suppression tag for the following warning:
> cannot instantiate non-constructor
This is needed when using third party libraries like Node.js where the "require" function is used and then you need to create an object using the "new" keyword from a "require" object. It isn't possible to add the @construct because this is third party code.
My app generates a lot of these warnings and currently there is no workaround.
Contributor guide
Assessment
This issue has not been assessed yet.