Преглед на файлове

chore: use const instead of let (#437)

ztplz преди 6 години
родител
ревизия
bc053f05cd
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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: {