Skip to content

Commit dafae6d

Browse files
Docs: fix a type on docs/ts/using-ts-effectively.md
Co-authored-by: Dan Freeman <dfreeman@salsify.com>
1 parent 3271c7b commit dafae6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ts/using-ts-effectively.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The full recommended _strictness_ settings in your `"compilerOptions"` hash (whi
2929
}
3030
```
3131

32-
A good approach is to start at your "leaf" modules (the ones that don't import anything else from your app, only Ember or third-party types) and then work your way back inward toward the most core moduels that are used everywhere. Often the highest-value modules are your Ember Data models and any core services that are used everywhere else in the app – and those are also the ones that tend to have the most cascading effects (having to update _tons_ of other places in your app) when you type them later in the process.
32+
A good approach is to start at your "leaf" modules (the ones that don't import anything else from your app, only Ember or third-party types) and then work your way back inward toward the most core modules that are used everywhere. Often the highest-value modules are your Ember Data models and any core services that are used everywhere else in the app – and those are also the ones that tend to have the most cascading effects (having to update _tons_ of other places in your app) when you type them later in the process.
3333

3434
Finally, leave `"noEmitOnError": true` (the default) in the `"compilerOptions"` hash in your `tsconfig.json`. This will fail your build if you have type errors, which gives you the fastest feedback as you add types.
3535

0 commit comments

Comments
 (0)