Skip to content

Commit 52009e2

Browse files
authored
Merge pull request #1506 from camerondubas/master
docs: update discord channel name, fix typos
2 parents 4193441 + 84639e7 commit 52009e2

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Thanks for submitting a pull request! 🎉
44
55
Please include a link to a GitHub issue if one exists.
66
7-
If you don't hear from a maintainer within a few days, please feel free to ping us here or in #e-typescript on Discord!
7+
If you don't hear from a maintainer within a few days, please feel free to ping us here or in #topic-typescript on Discord!
88
99
-->

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ We now use Babel 7's support for TypeScript to build apps and addons. Most of th
534534

535535
* Addons can no longer use `.ts` in app, because an addon's `app` directory gets merged with and uses the *host's* (i.e. the other addon or app's) preprocessors, and we cannot guarantee the host has TS support. Note that in-repo-addons will continue to work for in-repo addons because of the app build works with the host's (i.e. the app's, not the addon's) preprocessors.
536536

537-
* Apps need to use `.js` for overrides in app, since the different file extension means apps no long consistently "win" over addon versions (a limitation of how Babel + app merging interact) – note that this wont be a problem with Module Unification apps
537+
* Apps need to use `.js` for overrides in app, since the different file extension means apps no longer consistently "win" over addon versions (a limitation of how Babel + app merging interact) – note that this wont be a problem with Module Unification apps
538538

539539
### Fixed
540540

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@ Since we now integrate in a more traditional way into Ember CLI's build pipeline
143143
144144
- Addons can no longer use `.ts` in `app`, because an addon's `app` directory gets merged with and uses the *host's* (i.e. the other addon or app's) preprocessors, and we cannot guarantee the host has TS support. Note that `.ts` will continue to work for in-repo addons because the app build works with the host's (i.e. the app's, not the addon's) preprocessors.
145145
146-
- Similarly, apps must use `.js` to override addon defaults in `app`, since the different file extension means apps no long consistently "win" over addon versions (a limitation of how Babel + app merging interact).
146+
- Similarly, apps must use `.js` to override addon defaults in `app`, since the different file extension means apps no longer consistently "win" over addon versions (a limitation of how Babel + app merging interact).
147147
148148
##### Account for TS → Babel issues
149149
150150
ember-cli-typescript v2 uses Babel to compile your code, and the TypeScript compiler only to *check* your code. This makes for much faster builds, and eliminates the differences between Babel and TypeScript in the build output that could cause problems in v1. However, because of those differences, you’ll need to make a few changes in the process of upgrading.
151151
152152
- `const enum` is not supported at all. You will need to replace all uses of `const enum` with simply `enum` or constants.
153153
154-
- Using ES5 getters or settings with `this` type annotations is not supported through at least Babel 7.3. However, they should also be unnecessary with ES6 classes, so you can simply *remove* the `this` type annotation.
154+
- Using ES5 getters or setters with `this` type annotations is not supported through at least Babel 7.3. However, they should also be unnecessary with ES6 classes, so you can simply *remove* the `this` type annotation.
155155
156156
- Trailing commas after rest function parameters (`function foo(...bar[],) {}`) are disallowed by the ECMAScript spec, so Babel also disallows them.
157157
@@ -178,7 +178,7 @@ When seeking help, you should first consider what you need, and which aspect of
178178
179179
### 💬 Getting Started
180180
181-
We have a channel (**`#e-typescript`**) on the [Ember Community Discord server](https://discordapp.com/invite/zT3asNS) where you can ask about getting started, good resources for self-directed learning and more.
181+
We have a channel (**`#topic-typescript`**) on the [Ember Community Discord server](https://discordapp.com/invite/zT3asNS) where you can ask about getting started, good resources for self-directed learning and more.
182182
183183
### 📚 Issues With Ember Type Definitions
184184

docs/ts/current-limitations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ While TS already works nicely for many things in Ember, there are a number of co
66

77
You'll frequently see errors for imports which TypeScript doesn't know how to resolve. **These won't stop the build from working;** they just mean TypeScript doesn't know where to find those.
88

9-
Writing these missing type definitions is a great way to pitch in! Jump in `#e-typescript` on the [Ember Community Discord server](https://discord.gg/zT3asNS) and we'll be happy to help you.
9+
Writing these missing type definitions is a great way to pitch in! Jump in `#topic-typescript` on the [Ember Community Discord server](https://discord.gg/zT3asNS) and we'll be happy to help you.
1010

1111
## Templates
1212

docs/upgrade-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ If you choose to make the upgrade manually with yarn or npm, here are the steps
9393
Since we now integrate in a more traditional way into Ember CLI's build pipeline, there are two changes required for addons using TypeScript.
9494

9595
* Addons can no longer use `.ts` in `app`, because an addon's `app` directory gets merged with and uses the _host's_ \(i.e. the other addon or app's\) preprocessors, and we cannot guarantee the host has TS support. Note that `.ts` will continue to work for in-repo addons because the app build works with the host's \(i.e. the app's, not the addon's\) preprocessors.
96-
* Similarly, apps must use `.js` to override addon defaults in `app`, since the different file extension means apps no long consistently "win" over addon versions \(a limitation of how Babel + app merging interact\).
96+
* Similarly, apps must use `.js` to override addon defaults in `app`, since the different file extension means apps no longer consistently "win" over addon versions \(a limitation of how Babel + app merging interact\).
9797

9898
### Account for TS → Babel issues
9999

@@ -144,7 +144,7 @@ Any place where a type annotation overrides a _getter_
144144
Notably, this is not a problem for Glimmer components, so migrating to Octane will also help!
145145

146146
* `const enum` is not supported at all. You will need to replace all uses of `const enum` with simply `enum` or constants.
147-
* Using ES5 getters or settings with `this` type annotations is not supported through at least Babel 7.3. However, they should also be unnecessary with ES6 classes, so you can simply _remove_ the `this` type annotation.
147+
* Using ES5 getters or setters with `this` type annotations is not supported through at least Babel 7.3. However, they should also be unnecessary with ES6 classes, so you can simply _remove_ the `this` type annotation.
148148
* Trailing commas after rest function parameters \(`function foo(...bar[],) {}`\) are disallowed by the ECMAScript spec, so Babel also disallows them.
149149
* Re-exports of types have to be disambiguated to be _types_, rather than values. Neither of these will work:
150150

known-typings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ course find many other modules with their own typings out there.)
55

66
Don't see an addon you use listed here? You might be the one to write them! Check
77
out [this blog post] or [this quest issue] for tips on how to do it, and feel free
8-
to ask for help in the `#e-typescript` channel on the [Ember Community Discord server].
8+
to ask for help in the `#topic-typescript` channel on the [Ember Community Discord server].
99

1010
[this blog post]: http://www.chriskrycho.com/2017/typing-your-ember-part-5.html
1111
[this quest issue]: https://github.com/typed-ember/ember-typings/issues/14

rfcs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ for inclusion by ember-cli-typescript.
8181
* RFCs that are candidates for inclusion will enter a "final comment period"
8282
lasting 7 days. The beginning of this period will be signaled with a comment
8383
and tag on the RFC's pull request. Furthermore, the Typed Ember team will post
84-
in Discord in `#e-typescript` and `#news-and-announcements`.
84+
in Discord in `#topic-typescript` and `#news-and-announcements`.
8585
* An RFC can be modified based upon feedback from the Typed Ember team and
8686
the community. Significant modifications may trigger a new final comment period.
8787
* An RFC may be rejected by the team after public discussion has settled and

0 commit comments

Comments
 (0)