Skip to content
Snippets Groups Projects
Commit 2ee6250d authored by Alexander Rose's avatar Alexander Rose
Browse files

type def tweak

parent 290ec5b5
No related branches found
No related tags found
No related merge requests found
......@@ -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]: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment