# All Aurelia Typings?

**URL:** <https://discourse.aurelia.io/t/all-aurelia-typings/3346>\
**Category:** Framework Knowledge\
**Created:** [March 28, 2020, 2:33pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346 "2020-03-28T14:33:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavlos](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@pavlos](https://discourse.aurelia.io/u/pavlos)\
**Post date:** [March 28, 2020, 2:33pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/1 "2020-03-28T14:33:22Z")

</div>

Does anyone know where I can find ALL typings for Aurelia, in order to run Typescript? It must be gathered somewhere?

thanks

---

<div class="post-metadata">

**Author:** ![huochunpeng](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@huochunpeng](https://discourse.aurelia.io/u/huochunpeng)\
**Post date:** [March 28, 2020, 2:54pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/2 "2020-03-28T14:54:09Z")

</div>

Aurelia is written in ts. There is no full typing for Aurelia, but there is d.ts file for every Aurelia npm packages. Just follow the field “typings” path in their package.json file.

---

<div class="post-metadata">

**Author:** ![ShawnTalbert](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/shawntalbert/32/486_2.png) [@ShawnTalbert](https://discourse.aurelia.io/u/ShawnTalbert)\
**Post date:** [March 28, 2020, 3:01pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/3 "2020-03-28T15:01:37Z")

</div>

I was under the impression only Aurelia2 was written entirely in TS, and that Aurelia 1 was partially TS? Did Aurelia1 get converted to TS completely?

---

<div class="post-metadata">

**Author:** ![pavlos](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@pavlos](https://discourse.aurelia.io/u/pavlos)\
**Post date:** [March 28, 2020, 3:16pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/4 "2020-03-28T15:16:48Z")

</div>

Why then in most tsconfig examples they indicate that one should exclude all `node_modules` from the ts compiler? It is very confusing. This was a tsconfig.json example posted from Aurelia blog ( [https://aurelia.io/blog/2015/05/06/getting-started-with-aurelia-and-typescript/](https://aurelia.io/blog/2015/05/06/getting-started-with-aurelia-and-typescript/)) it required pasting in a `typings` folder.

```
 "version": "3.8.3",
"compilerOptions": {
    "target": "es5",
    "module": "es2015",
    "moduleResolution": "node",
    "lib": ["es2017", "dom"],
    // "importHelpers": true,
    "sourceMap": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "allowSyntheticDefaultImports": true,
},
"filesGlob": [
    "./**/*.ts",
    "!./node_modules/**/*.ts"
],
"files": [
    "./typings/aurelia-dialog/aurelia-dialog.d.ts",
    "./typings/aurelia-dialog/dialog-cancel-error.d.ts",
    "./typings/aurelia-dialog/dialog-close-error.d.ts",
    "./typings/aurelia-dialog/dialog-configuration.d.ts"
```

---

<div class="post-metadata">

**Author:** ![huochunpeng](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@huochunpeng](https://discourse.aurelia.io/u/huochunpeng)\
**Post date:** [March 28, 2020, 3:24pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/5 "2020-03-28T15:24:04Z")

</div>

> [@ShawnTalbert](#):
>
> Did Aurelia1 get converted to TS completely?

I think so. If it’s not all, it’s at least most important ones. But I cannot recall any package not in ts.

---

<div class="post-metadata">

**Author:** ![pavlos](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@pavlos](https://discourse.aurelia.io/u/pavlos)\
**Post date:** [March 28, 2020, 4:39pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/6 "2020-03-28T16:39:57Z")

</div>

Even if it is, it doesn’t give you type intellisense out of the box anyway.

---

<div class="post-metadata">

**Author:** ![zewa666](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/zewa666/32/19_2.png) [@zewa666](https://discourse.aurelia.io/u/zewa666)\
**Post date:** [March 28, 2020, 5:34pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/7 "2020-03-28T17:34:21Z")

</div>

Can you give an example of where the intellisense fails for you? Would be easier that way to check what went wrong

---

<div class="post-metadata">

**Author:** ![pavlos](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@pavlos](https://discourse.aurelia.io/u/pavlos)\
**Post date:** [April 2, 2020, 3:38pm UTC](https://discourse.aurelia.io/t/all-aurelia-typings/3346/8 "2020-04-02T15:38:58Z")

</div>

Wasn’t referencing typings from node\_modules.

Having this in `tsconfig.json` helped

```
   "typeRoots": ["node_modules/**/*"],
  "include": [
     "./typings/**/*"
  ]
```
