visibilityjs icon indicating copy to clipboard operation
visibilityjs copied to clipboard

The expression of an export assignment must be an identifier or qualified name in an ambient context.

Open gishan opened this issue 8 years ago • 2 comments

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.

gishan avatar Nov 09 '17 09:11 gishan

Same error here with typescript 2.6.1

marayfirth avatar Nov 14 '17 09:11 marayfirth

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

marayfirth avatar Nov 14 '17 12:11 marayfirth