Skip to content

Commit

Permalink
Update the paths in the canary tsconfig example
Browse files Browse the repository at this point in the history
Without the `./node_modules/` prefix, TS can't find the types.
  • Loading branch information
Windvis authored Sep 30, 2024
1 parent 536192b commit f6f873a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions guides/typescript/1-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ potential volatility.
"compilerOptions": {
+ "types": [
+ "ember-source/types",
+ "ember-data/unstable-preview-types",
+ "@ember-data/store/unstable-preview-types",
+ "@ember-data/adapter/unstable-preview-types",
+ "@ember-data/graph/unstable-preview-types",
+ "@ember-data/json-api/unstable-preview-types",
+ "@ember-data/legacy-compat/unstable-preview-types",
+ "@ember-data/request/unstable-preview-types",
+ "@ember-data/request-utils/unstable-preview-types",
+ "@ember-data/model/unstable-preview-types",
+ "@ember-data/serializer//unstable-preview-types",
+ "@ember-data/tracking/unstable-preview-types",
+ "@warp-drive/core-types/unstable-preview-types"
+ "./node_modules/ember-data/unstable-preview-types",
+ "./node_modules/@ember-data/store/unstable-preview-types",
+ "./node_modules/@ember-data/adapter/unstable-preview-types",
+ "./node_modules/@ember-data/graph/unstable-preview-types",
+ "./node_modules/@ember-data/json-api/unstable-preview-types",
+ "./node_modules/@ember-data/legacy-compat/unstable-preview-types",
+ "./node_modules/@ember-data/request/unstable-preview-types",
+ "./node_modules/@ember-data/request-utils/unstable-preview-types",
+ "./node_modules/@ember-data/model/unstable-preview-types",
+ "./node_modules/@ember-data/serializer/unstable-preview-types",
+ "./node_modules/@ember-data/tracking/unstable-preview-types",
+ "./node_modules/@warp-drive/core-types/unstable-preview-types"
+ ]
}
}
Expand All @@ -64,7 +64,7 @@ potential volatility.
+ "@ember-data-types/request/unstable-preview-types",
+ "@ember-data-types/request-utils/unstable-preview-types",
+ "@ember-data-types/model/unstable-preview-types",
+ "@ember-data-types/serializer//unstable-preview-types",
+ "@ember-data-types/serializer/unstable-preview-types",
+ "@ember-data-types/tracking/unstable-preview-types",
+ "@warp-drive-types/core-types/unstable-preview-types"
+ ]
Expand Down

0 comments on commit f6f873a

Please sign in to comment.