module export namespace Color { export const White = { 500 : '#FFF' , } ; export const Black = { 500 : '#000' , } ; } export namespace PrimaryColor { export const White = Color . White [ '500' ] ; export const Black = Color . Black [ '500' ] ; }