refactor: add prefer-const to .eslintrc + fix errors (#14880)
This commit is contained in:
parent
07161a8452
commit
3ad3ade828
47 changed files with 239 additions and 238 deletions
2
spec/fixtures/workers/shared_worker_node.js
vendored
2
spec/fixtures/workers/shared_worker_node.js
vendored
|
@ -1,5 +1,5 @@
|
|||
self.onconnect = function (event) {
|
||||
let port = event.ports[0]
|
||||
const port = event.ports[0]
|
||||
port.start()
|
||||
port.postMessage([typeof process, typeof setImmediate, typeof global, typeof Buffer].join(' '))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue