aboutsummaryrefslogtreecommitdiff
path: root/src/background/usecases
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-09-22 13:00:04 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-09-22 13:00:04 +0900
commitd555c64e5ce12d716925786d914510415c19a0db (patch)
tree93f455e281c52a1a78c837e025c17feed11d8d1d /src/background/usecases
parent3c5d22c5600fd3dd4a8a632b2882e580e647a83f (diff)
Use destructuring-assignment instead of delete operator
Operands for delete must be optional on TypeScript 4.0. When using the delete operator in strictNullChecks, the operand must now be any, unknown, never, or be optional (in that it contains undefined in the type). Otherwise, use of the delete operator is an error. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#operands-for-delete-must-be-optional
Diffstat (limited to 'src/background/usecases')
0 files changed, 0 insertions, 0 deletions