-- ROBLOX deviation START: Bindings are unique to Roact

export type ReactBinding<T> = {
	getValue: (self: ReactBinding<T>) -> T,
	-- FIXME Luau: can't create recursive type with different parameters, so we
	-- approximate for now
	map: <U>(self: ReactBinding<T>, (T) -> U) -> any,
	_source: string?,
}
export type ReactBindingUpdater<T> = (T) -> ()