Skip to content

StorageObject and custom Interface/Class #51

@nokeeo

Description

@nokeeo

Hello! I am currently trying to cast a custom interface to a StorageObject to pass to the storage.local.set method, however TS is saying this is not possible due to Index Signatures.

Line 928 indicates:
// The Index signature makes casting to/from classes or interfaces a pain. Custom types are OK.

Any tips for dealing with this? Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions