On file 'A' I have this:
export const settings: object = {
base: 1
}
Now on file 'B' I import it and extract the base value:
import * as mySettings from '../settings';
baseValue: object=mySettings.settings.base;
This is returning an error:
property: base does not exist on type: object.
How can I fix this?