diff --git a/01-wallet/index.md b/01-wallet/index.md index 70b0200..bbe61c7 100644 --- a/01-wallet/index.md +++ b/01-wallet/index.md @@ -125,6 +125,22 @@ Let's create a new directory for our project and support TypeScript. Open termin npm install ts-node ``` +We also need to add a configuration file. Create the file `tsconfig.json` with the following content: + +``` + { + "compilerOptions": { + "module": "commonjs", + "esModuleInterop": true, + "target": "es6", + "moduleResolution": "node", + "sourceMap": true, + "outDir": "dist" + }, + "lib": ["es2015"] + } +``` + --- library:npmton --- diff --git a/01-wallet/test/npmton/tsconfig.json b/01-wallet/test/npmton/tsconfig.json new file mode 100644 index 0000000..bd2ebf9 --- /dev/null +++ b/01-wallet/test/npmton/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "module": "commonjs", + "esModuleInterop": true, + "target": "es6", + "moduleResolution": "node", + "sourceMap": true, + "outDir": "dist" + }, + "lib": ["es2015"] + } \ No newline at end of file diff --git a/01-wallet/test/tonweb/tsconfig.json b/01-wallet/test/tonweb/tsconfig.json new file mode 100644 index 0000000..bd2ebf9 --- /dev/null +++ b/01-wallet/test/tonweb/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "module": "commonjs", + "esModuleInterop": true, + "target": "es6", + "moduleResolution": "node", + "sourceMap": true, + "outDir": "dist" + }, + "lib": ["es2015"] + } \ No newline at end of file