Choosing the Right Data Type for Configuration in Effect-Based Libraries

Lets say i'm writing a library that requires a consumer to create a configuration (not Config in effect). What is the "data type" i would use for an object? I know i can use regular JS, but figured i'd look at Effect data types also. Its just a singleton that would "persist" throughout the application.

Do you use the class that you write for your Configuration service to store the information? Is there a better way?
Was this page helpful?