Use TypeScript

This commit is contained in:
2020-09-08 13:56:03 +02:00
parent d1b7a149c0
commit 00156c8d70
8 changed files with 619 additions and 42 deletions

14
app/config/environment.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
export default config;
/**
* Type declarations for
* import config from 'my-app/config/environment'
*/
declare const config: {
environment: string;
modulePrefix: string;
podModulePrefix: string;
locationType: string;
rootURL: string;
APP: Record<string, unknown>;
};

View File

@@ -1,5 +1 @@
{{!-- The following component displays Ember's default welcome message. --}}
<WelcomePage />
{{!-- Feel free to remove this! --}}
{{outlet}}