Atomic Interface In Typescript