function readonly(store) {
	return {
		// @ts-expect-error TODO i suspect the bind is unnecessary
		subscribe: store.subscribe.bind(store)
	};
}
Takes a store and returns a new one derived from the old one that is readable.

@template T
@param {Readable<T>} store  - store to make readonly
@returns {Readable<T>}