]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(runtime-core): remove dev-only props property from setup context for consistency...
authorRichard Cooke <the.richard.cooke@gmail.com>
Sat, 27 Mar 2021 15:23:10 +0000 (15:23 +0000)
committerGitHub <noreply@github.com>
Sat, 27 Mar 2021 15:23:10 +0000 (11:23 -0400)
packages/runtime-core/src/component.ts

index 1295b75936b2b33437de3f77aafed2f4d6d0a01e..6e2c1d53d787c97c2689b0f4cb956d41f290efb3 100644 (file)
@@ -780,9 +780,6 @@ export function createSetupContext(
     // We use getters in dev in case libs like test-utils overwrite instance
     // properties (overwrites should not be done in prod)
     return Object.freeze({
-      get props() {
-        return instance.props
-      },
       get attrs() {
         return new Proxy(instance.attrs, attrHandlers)
       },