ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
330 stars 98 forks source link

fix(sdk) Replaced getItem Promise generic 'null' to 'unknown' #128

Closed QuantGeekDev closed 11 months ago

QuantGeekDev commented 11 months ago

Replace generic type of getItem method in IStorage interface from "null" to "unknown" which is a more type-safe way of handling unknowns

siandreev commented 11 months ago

null is more strict than unknown

QuantGeekDev commented 11 months ago

null is more strict than unknown

Got it, thanks