We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't use semicolons as line terminators in TS. Typson breaks without them. Probably shouldn't. Current typescript compiler handles this file fine.
The text was updated successfully, but these errors were encountered:
ExpenseModel.ts
/** * Date in a string format. Basically can handle anything moment() can handle. */ type DateString = string /** * Data Model for Expense report header inbound payload */ interface ExpenseHeader { /** * RefNo */ tranid : string /** * FullName */ entityid :string /** * TBD */ trandate : DateString /** * SubmitDate */ custbody_submitdate /** * expense line items */ lines : Array<ExpenseLine> } interface ExpenseLine { /** * ExpenseDate */ expensedate : DateString /** * Descr */ memo: string /** * Cost */ foreignamount : number, /** * Currency */ currency : string, /** * Total */ amount : number /** * ChargeTo */ custcol_somefieldTDB: string /** * Customer */ custcol_somecustomer: string /** * AttachmentID */ custcol_attachment_id: string /** * tiBillable */ isBillable : boolean /** * SegmentCode * */ expenseCategory: string }
$typson schema ExpenseModel.ts (node) sys is deprecated. Use util instead. ExpenseModel.ts(4,6): error TS1005: ';' expected. /home/shawn/node_modules/typson/node_modules/q/q.js:126 throw e; ^ undefined
$typson schema ExpenseModel.ts
(node) sys is deprecated. Use util instead. ExpenseModel.ts(4,6): error TS1005: ';' expected.
/home/shawn/node_modules/typson/node_modules/q/q.js:126 throw e; ^ undefined
Sorry, something went wrong.
No branches or pull requests
I don't use semicolons as line terminators in TS. Typson breaks without them. Probably shouldn't. Current typescript compiler handles this file fine.
The text was updated successfully, but these errors were encountered: