adopted-ember-addons / adopted-ember-addons/ember-electron
Q: Compatibility with typescript
- 主要语言
- JavaScript
- 星标
- 802
- 派生
- 106
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
I have an working application that I want to convert to typescript.
Looking at https://github.com/electron/forge there is a typescript template that indeed runs when being a stand alone electron app.
However in ember-electron this does not seem to work... I think becuase ember-electron run forge via its 'api' and therefore uses ts config from the enclosing ember app.
This works
```
cd electron-app
yarn electron-forge start
```
But this will fail;
```
ember electron
Starting Electron...
Failed to load: /..../electron-app/forge.config.ts
Cannot use import statement outside a module
```
Is this even possible? Perhaps any example repositories?
贡献指南
评估
这个 Issue 还没有评估数据。