Skip to content

Commit

Permalink
refactor: update VUE_CONTAINER_KEY to not use a symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBastin committed Jun 25, 2024
1 parent e3e3847 commit 042d0b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vue.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Plugin, inject } from "vue"
import { Container, ServiceClassInstance } from "./container"

const VUE_CONTAINER_KEY = Symbol()
const VUE_CONTAINER_KEY = "__dioc:vue"

// TODO: Some Vue version issue with plugin generics is breaking type checking
/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dioc",
"version": "3.0.1",
"version": "3.0.2",
"type": "module",
"license": "MIT",
"description": "A 'too simple' and opinionated dependency injection library",
Expand Down

0 comments on commit 042d0b2

Please # to comment.