Skip to content

Commit 684c955

Browse files
committed
remove typo in comment
Signed-off-by: Max Heiber <max.heiber@gmail.com>
1 parent da36b0b commit 684c955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/transformers/destructuring.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ namespace ts {
535535
const propertyNames: Expression[] = [];
536536
let computedTempVariableOffset = 0;
537537
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
538+
// can safely assume property name is not a PrivateName because PrivateNames are not allowed in object literals
539539
const propertyName = getPropertyNameOfBindingOrAssignmentElement(elements[i]) as Exclude<PropertyName, PrivateName>;
540540
if (propertyName) {
541541
if (isComputedPropertyName(propertyName)) {

0 commit comments

Comments
 (0)