Skip to content

Commit 7f00ec2

Browse files
committed
chore: remove deprecated AppConfig.unwrapInjectedRef option
1 parent e8bbc94 commit 7f00ec2

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

packages/runtime-core/src/apiCreateApp.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,6 @@ export interface AppConfig {
110110
* @deprecated use config.compilerOptions.isCustomElement
111111
*/
112112
isCustomElement?: (tag: string) => boolean
113-
114-
// TODO remove in 3.4
115-
/**
116-
* Temporary config for opt-in to unwrap injected refs.
117-
* @deprecated this no longer has effect. 3.3 always unwraps injected refs.
118-
*/
119-
unwrapInjectedRef?: boolean
120113
}
121114

122115
export interface AppContext {
@@ -212,22 +205,6 @@ export function createAppAPI<HostElement>(
212205
}
213206

214207
const context = createAppContext()
215-
216-
// TODO remove in 3.4
217-
if (__DEV__) {
218-
Object.defineProperty(context.config, 'unwrapInjectedRef', {
219-
get() {
220-
return true
221-
},
222-
set() {
223-
warn(
224-
`app.config.unwrapInjectedRef has been deprecated. ` +
225-
`3.3 now always unwraps injected refs in Options API.`
226-
)
227-
}
228-
})
229-
}
230-
231208
const installedPlugins = new WeakSet()
232209

233210
let isMounted = false

0 commit comments

Comments
 (0)