Skip to content

Commit

Permalink
published and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-ngu committed Dec 30, 2023
1 parent b212008 commit e493c5d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-pnr",
"version": "0.0.1",
"version": "0.0.3",
"description": "A npm package to convert Amadeus PNR record to JSON",
"main": "dist/index.js",
"scripts": {
Expand All @@ -26,6 +26,6 @@
"typescript": "^5.3.3"
},
"files": [
"src"
"./src"
]
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ interface IPnrResult {
ssrMessage?: '',
}

type ParseResult = [string, string | IFlightSegment];
type ParseResult = [string, string | IFlightSegment | IRecordLocator];

function formatDate(date: string) {
// TODO: implement this?
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
},
"exclude": [
"node_modules",
"dist"
"dist",
"docs"
]
}

0 comments on commit e493c5d

Please sign in to comment.