github.com/lauslim12/expert-systems@v0.0.0-20221115131159-018513aad29c/web/src/types/UserCertaintyWeight.ts (about) 1 /** 2 * Enum of weights, can be used at state to prevent rendering the default value. 3 */ 4 export type StateCertaintyWeight = 0 | 0.25 | 0.75 | 1 | null; 5 6 /** 7 * Enum of weights used to define the 'certainty' of a symptom according to the user. 8 */ 9 type UserCertaintyWeight = 0 | 0.25 | 0.75 | 1; 10 11 export default UserCertaintyWeight;