Explorar el Código

chore: use const instead of let (#437)

ztplz hace 6 años
padre
commit
bc053f05cd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/vue/__tests__/index.spec.ts

+ 1 - 1
packages/vue/__tests__/index.spec.ts

@@ -48,7 +48,7 @@ describe('compiler + runtime integration', () => {
 
   it('should support using element innerHTML as template', () => {
     const app = createApp()
-    let container = document.createElement('div')
+    const container = document.createElement('div')
     container.innerHTML = '{{msg}}'
     const App = {
       data: {