From a4f083bcf86c6a5bf41d952f75ce20a0ee8c6788 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Mon, 9 Dec 2024 15:20:16 +0100 Subject: [PATCH] chore(frontend): add jsconfig --- frontend/.gitignore | 3 --- frontend/jsconfig.json | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 frontend/jsconfig.json diff --git a/frontend/.gitignore b/frontend/.gitignore index d10296ee0..a609073b6 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -19,9 +19,6 @@ testem.log *.swp *.orig -# vscode -jsconfig.json - /.vscode/ /.idea/ diff --git a/frontend/jsconfig.json b/frontend/jsconfig.json new file mode 100644 index 000000000..b2124b4ed --- /dev/null +++ b/frontend/jsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + // The combination of `baseUrl` with `paths` allows Ember's classic package + // layout, which is not resolvable with the Node resolution algorithm, to + // work with TypeScript. + "allowJs": true, + "baseUrl": ".", + "paths": { + "timed/tests/*": [ + "tests/*" + ], + "timed/mirage/*": [ + "mirage/*" + ], + "timed/*": [ + "app/*" + ], + "*": [ + "types/*" + ] + } + }, + "include": [ + "app/**/*", + "tests/**/*", + "types/**/*", + "mirage/**/*" + ] +} \ No newline at end of file