Skip to content
New issue

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

Jim/75250/bot skeleton ts config fix #6363

Merged
Merged
Show file tree
Hide file tree
Changes from 2 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
3 changes: 0 additions & 3 deletions packages/bot-skeleton/globals.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/bot-skeleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@deriv/bot-skeleton",
"version": "1.0.0",
"description": "Visual automation for Deriv.com",
"main": "src/app.js",
"main": "src/app.ts",
"private": true,
"scripts": {
"start": "npm run test && npm run serve",
Expand Down
File renamed without changes.
8 changes: 5 additions & 3 deletions packages/bot-skeleton/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"baseUrl": "./"
"baseUrl": "./",
"paths": {
"@deriv/*": ["../*/src"]
}
},
"include": ["./src/**/*.ts", "./src/**/*.tsx", "globals.d.ts"] // *** The files TypeScript should type check ***
"include": ["src"]
}