I'm struggling to understand the correct way to expose a variable in Typescript across multiple files. I've read a few existing questions on StackOverflow, but many seem to be for older version (1.0) of Typescript.
Given I have a project with multiple packages compiled using lerna and within the package common I want to declare a variable token which can be read/write by files in other packages, how should I do this?