chore: todo
This commit is contained in:
parent
117630fb92
commit
8eb20eede9
@ -26,6 +26,7 @@ export function inject<T>(key: Key<T>): Value<T> | undefined {
|
|||||||
if (!currentInstance) {
|
if (!currentInstance) {
|
||||||
// TODO warn
|
// TODO warn
|
||||||
} else {
|
} else {
|
||||||
|
// TODO should also check for app-level provides
|
||||||
const provides = currentInstance.parent && currentInstance.provides
|
const provides = currentInstance.parent && currentInstance.provides
|
||||||
if (provides) {
|
if (provides) {
|
||||||
const val = provides[key as any]
|
const val = provides[key as any]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user