vuetify
Version:
Vue Material Component Framework
13 lines • 355 B
JavaScript
// Utilities
import { getCurrentInstance } from "./getCurrentInstance.mjs"; // Types
export function injectSelf(key) {
const {
provides
} = getCurrentInstance('injectSelf');
if (provides && key in provides) {
// TS doesn't allow symbol as index type
return provides[key];
}
return undefined;
}
//# sourceMappingURL=injectSelf.mjs.map