Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Fix: Typo in TSExportAssignment node type #367

Merged
merged 1 commit into from
Aug 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ast-node-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ module.exports = {
TSDeclareKeyword: "TSDeclareKeyword",
TSEnumDeclaration: "TSEnumDeclaration",
TSEnumMember: "TSEnumMember",
TSExportAssignment: "TSExportAssigment",
TSExportAssignment: "TSExportAssignment",
TSIndexSignature: "TSIndexSignature",
TSInterfaceBody: "TSInterfaceBody",
TSInterfaceDeclaration: "TSInterfaceDeclaration",
Expand Down
5 changes: 4 additions & 1 deletion tests/ast-alignment/spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,10 @@ const fixturePatternsToTest = [
{
pattern: "typescript/basics/export-named-enum.src.ts",
config: { babylonParserOptions: { sourceType: "module" } }
},
{
pattern: "typescript/basics/export-assignment.src.ts",
config: { babylonParserOptions: { sourceType: "module" } }
}

/**
Expand Down Expand Up @@ -488,7 +492,6 @@ const fixturePatternsToTest = [
// "typescript/basics/class-with-type-parameter.src.ts",
// "typescript/basics/declare-function.src.ts",
// "typescript/basics/destructuring-assignment.src.ts",
// "typescript/basics/export-assignment.src.ts",
// "typescript/basics/export-default-class-with-generic.src.ts",
// "typescript/basics/export-default-class-with-multiple-generics.src.ts",
// "typescript/basics/export-named-class-with-generic.src.ts",
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/__snapshots__/typescript.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20900,7 +20900,7 @@ Object {
0,
13,
],
"type": "TSExportAssigment",
"type": "TSExportAssignment",
},
],
"loc": Object {
Expand Down