ReadonlysessionReadonlyTThis hack is to work around TypeScript types not existing at runtime. We can specify the return type here.
InternalUtility for specifying types in generic interfaces, workaround for TypeScript types not existing at runtime
Routes should implement this interface to use with fetch function
Properties can be a value, or a function that returns a value to access
thisExample
Example with LavaSearch
/loadsearchendpoint