visibilityjs
visibilityjs copied to clipboard
The expression of an export assignment must be an identifier or qualified name in an ambient context.
ERROR in /node_modules/visibilityjs/index.d.ts: The expression of an export assignment must be an identifier or qualified name in an ambient context. I use this module in an Angular project and my typescript version is 5.3.2. I get an error when i build the project.
Same error here with typescript 2.6.1
As per https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#arbitrary-expressions-are-forbidden-in-export-assignments-in-ambient-contexts, it might be fixed with #34