Dan Freeman
Dan Freeman
You didn't include this in the error report, but assuming this is the same as what you're describing in Discord, this log message is relevant: ``` Stack Trace and Error...
I went hunting and it looks like the situation is pretty much what I was speculating above. I spun up fresh app with an in-repo addon that returns `Promise.reject('uh oh')`...
This would have to be a change in ember-cli.
I think we got the confusion sorted out in Discord, but for anyone else reading along in this thread: `noEmitOnError` is a [TypeScript configuration option](https://www.typescriptlang.org/tsconfig#noEmitOnError) (not something we invented!) that...
I [added the strict-mode helper imports](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/58606), but the manager APIs are still missing if those are what you're after
The problem here is exactly that `@glimmer/tracking` _is_ a real npm package, and it ships types already, but the package itself has no `primitives/cache` subpath—that only exists for Ember consumers...
> So this command would add the appropriate stuff to paths and include? 👍 > It could also check that isDevelopingAddon() === true, but probably shouldn't modify the addon automatically?...
We'd need to update the route blueprint to check for `router.ts` and make changes to [ember-router-generator](https://github.com/ember-cli/ember-router-generator), which uses [recast](https://github.com/benjamn/recast) to add a `this.route()` call. Recast itself [just landed](https://github.com/benjamn/recast/pull/461) initial TS...
I'd love to revisit our whole default `tsconfig.json` prior to the 4.0 release if we can.
```ts import { helper } from '@ember/component/helper'; export function fooHelper(params/*, hash*/) { return params; } export default helper(fooHelper); ```