mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-07-23 15:10:18 +00:00
Adds a TypeScript equivalent of the 'Get Started Using JavaScript' tutorial, with runnable Node.js and Web code samples using xrpl.js. From the issue it covers the TypeScript specific asks: - Setting up a TypeScript project (typescript dep, tsconfig.json, compile and run steps). - Using xrpl.js's built-in types to build a transaction from input values and validate it (typed Payment + xrpToDrops + validate()). Closes #1208
15 lines
312 B
JSON
15 lines
312 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": ["ES2020", "DOM"],
|
|
"outDir": "dist",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["*.ts"]
|
|
}
|