We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da36b0b commit 684c955Copy full SHA for 684c955
src/compiler/transformers/destructuring.ts
@@ -535,7 +535,7 @@ namespace ts {
535
const propertyNames: Expression[] = [];
536
let computedTempVariableOffset = 0;
537
for (let i = 0; i < elements.length - 1; i++) {
538
- // can safely assume property name is not a PrivateName because PrivateNames are nto allowed in object literals
+ // can safely assume property name is not a PrivateName because PrivateNames are not allowed in object literals
539
const propertyName = getPropertyNameOfBindingOrAssignmentElement(elements[i]) as Exclude<PropertyName, PrivateName>;
540
if (propertyName) {
541
if (isComputedPropertyName(propertyName)) {
0 commit comments