Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Just curious, can I declare a map of string to Class on container as a type? - Sapphire - Imagine a Framework
S-IaF
Sapphire - Imagine a Framework
โข
2y ago
โข
5 replies
ZachHandley
Just curious, can I declare a map of string to Class on container as a type?
wondering if this is okay lol
Solution
yeah I figured if I used the container
.configHandlers
.get and it
's undefined then I create
& set it
Jump to solution
Sapphire - Imagine a Framework
Join
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,261
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
cant declare container items
S-IaF
Sapphire - Imagine a Framework / sapphire-support
16mo ago
Property does not exist on type 'Container'
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Accessing container inside of a decorator
S-IaF
Sapphire - Imagine a Framework / sapphire-support
3y ago
Can I extend Sapphire Command class?
S-IaF
Sapphire - Imagine a Framework / sapphire-support
9mo ago