a:5:{s:8:"template";s:6386:"
This means that the value of MyAction exported by inner/index.ts is, this value overrides the value of MyAction exported from action.ts in the line, This will export both identity and MyAction without any renaming or namespacing. rev2023.1.18.43170. typescript cannot use namespace as a typecalculate the number of electrons passing per second typescript cannot use namespace as a type. How to fix 'Cannot use namespace as a type ts(2709)' in typescript? The TypeScript Compiler is now giving error 2305: While you created the module declaration for example-vector3, the export is currently set to an empty namespace. Our test code is otherwise unchanged. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Save my name and email in this browser for the next time I comment.