Skip to content

Commit b3c5e64

Browse files
committed
chore: minor tweaks
1 parent c28f792 commit b3c5e64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/platforms/web/server/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const isAttr = makeMap(
1919
)
2020

2121
const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/
22-
export const isSSRUnsafeAttr = name => {
22+
export const isSSRUnsafeAttr = (name: string): boolean => {
2323
return unsafeAttrCharRE.test(name)
2424
}
2525

test/unit/features/directives/model-checkbox.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ describe('Directive v-model checkbox', () => {
337337
expect(vm.$el.children[1].textContent).toBe('false')
338338
}).then(done)
339339
})
340-
340+
341341
// #7811
342342
it('type should not be overwritten by v-bind', () => {
343343
const vm = new Vue({

0 commit comments

Comments
 (0)