You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-60Lines changed: 25 additions & 60 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
# ember-cli-typescript
2
2
3
-
[](https://travis-ci.org/typed-ember/ember-cli-typescript)[](https://ci.appveyor.com/project/chriskrycho/ember-cli-typescript/branch/master)
(👆that failing Travis build [is a lie](https://travis-ci.org/typed-ember/ember-cli-typescript). The Ember CLI issue, related to ember-try, is [here](https://github.com/ember-cli/ember-try/issues/161).)
8
9
9
10
## Installing/Upgrading
10
11
@@ -14,7 +15,9 @@ Just run:
14
15
ember install ember-cli-typescript@1
15
16
```
16
17
17
-
All dependencies will be added to your `package.json`, and you're ready to roll! (If you're upgrading from a previous release, you should check to merge any tweaks you've made to `tsconfig.json`.
18
+
All dependencies will be added to your `package.json`, and you're ready to roll!
19
+
(If you're upgrading from a previous release, you should check to merge any
20
+
tweaks you've made to `tsconfig.json`.
18
21
19
22
In addition to ember-cli-typescript, the following are installed:
20
23
@@ -91,11 +94,17 @@ on the background and roadmap for the project.
'Skipping TypeScript preprocessing as there is no tsconfig.json. '+
21
-
'(If this is during installation of the add-on, this is as expected. If it is '+
22
-
'while building, serving, or testing the application, this is an error.)'
20
+
'(If this is during installation of the add-on, this is as expected. If it is '+
21
+
'while building, serving, or testing the application, this is an error.)'
23
22
);
24
23
return;
25
24
}
26
25
27
26
try{
28
-
registry.add('js',newTsPreprocessor({
29
-
ui: this.ui
30
-
}));
27
+
registry.add(
28
+
'js',
29
+
newTsPreprocessor({
30
+
ui: this.ui,
31
+
})
32
+
);
31
33
}catch(ex){
32
-
thrownewSilentError(`Failed to instantiate TypeScript preprocessor, probably due to an invalid tsconfig.json. Please fix or run \`ember generate ember-cli-typescript\`.\n${ex}`);
34
+
thrownewSilentError(
35
+
`Failed to instantiate TypeScript preprocessor, probably due to an invalid tsconfig.json. Please fix or run \`ember generate ember-cli-typescript\`.\n${ex}`
0 commit comments