haven-life / persistor

Amorphic: ORM (PostgreSQL / MongoDB)
MIT License
0 stars 6 forks source link

Re-add Persistor type to static create() #11

Open sshankar19 opened 5 years ago

sshankar19 commented 5 years ago
/**
 * @TODO: was typed `Persistor` but that's weird? doesn't work need to figure out what's going on.
 */
static create(): any | undefined {return undefined}; 
nsaenz7 commented 5 years ago

This function seems to be exposed purely for test purposes, but we can probably still type this as Persistor to make this legacy code less confusing.