Perhaps there is an incomplete definition on ReactiveProxy... ?
import { r } from "@arrow-js/core";
type Data = {
payload: Uint8Array;
};
const data = r<Data>({
payload: new Uint8Array(),
});
data.payload = new Uint8Array();
// ^^^^^^^^^ Type 'Uint8Array' is not assignable to type 'ReactiveProxy<Uint8Array>'.
Can this issue be related?
@RafalKornel Yeah, possibly.
Considering that issue says the code works, I'm guessing the type definition for ReactiveProxy
is incomplete, but I haven't looked at the source yet.
Owner Name | justin-schroeder |
Repo Name | arrow-js |
Full Name | justin-schroeder/arrow-js |
Language | TypeScript |
Created Date | 2022-11-08 |
Updated Date | 2023-03-28 |
Star Count | 1240 |
Watcher Count | 21 |
Fork Count | 22 |
Issue Count | 7 |
Issue Title | Created Date | Updated Date |
---|