Name strict-mode code as where a getter-only assignment throws
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 36s
Test / test (26) (pull_request) Successful in 31s
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 23s
Test / test (18) (pull_request) Successful in 31s
Test / test (20) (pull_request) Successful in 31s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 36s
Test / test (26) (pull_request) Successful in 31s
This commit is contained in:
+2
-2
@@ -78,8 +78,8 @@
|
||||
removed: read `session.boundAs !== undefined`. A session you wire yourself records the bind it
|
||||
accepted or had accepted with `session.bound(bindType, declaredVersion)`, which returns `err` for a
|
||||
bind type or version it cannot record. An assignment to either field does not compile in
|
||||
TypeScript, throws a `TypeError` in an ES module or strict-mode script, and is ignored in
|
||||
sloppy-mode CommonJS.
|
||||
TypeScript, throws a `TypeError` in strict-mode code (every ES module, and any file under
|
||||
`'use strict'`), and is ignored otherwise.
|
||||
|
||||
## 0.5.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user