diff --git a/src/mol-model/structure/model/types.ts b/src/mol-model/structure/model/types.ts index 22714b509a9a872fa642804d387ae06412e69530..e3c42bba60083bbc84a30486c04988d23e0ff13c 100644 --- a/src/mol-model/structure/model/types.ts +++ b/src/mol-model/structure/model/types.ts @@ -56,10 +56,7 @@ export const enum MoleculeType { saccharide } -const AtomRole = { - trace: '', direction: '', backboneStart: '', backboneEnd: '' -} -export type AtomRole = keyof typeof AtomRole +export type AtomRole = 'trace' | 'direction' | 'backboneStart' | 'backboneEnd' export const MoleculeTypeAtomRoleId: { [k: number]: { [k in AtomRole]: string } } = { [MoleculeType.protein]: {