From 2af6741ff9ca4d21bfdac0d12eac873f97f327d0 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Sat, 9 Nov 2024 14:28:53 -0500 Subject: [PATCH] Use native ember types --- files/__addonLocation__/package.json | 23 +---------------------- files/__addonLocation__/tsconfig.json | 6 +++++- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/files/__addonLocation__/package.json b/files/__addonLocation__/package.json index 4e850d8..6419100 100644 --- a/files/__addonLocation__/package.json +++ b/files/__addonLocation__/package.json @@ -45,28 +45,7 @@ "@glint/environment-ember-loose": "^1.4.0", "@glint/environment-ember-template-imports": "^1.4.0", "@glint/template": "^1.4.0", - "@tsconfig/ember": "^3.0.6", - "@types/ember": "^4.0.10", - "@types/ember__object": "^4.0.11", - "@types/ember__destroyable": "^4.0.4", - "@types/ember__owner": "^4.0.8", - "@types/ember__service": "^4.0.8", - "@types/ember__controller": "^4.0.11", - "@types/ember__string": "^3.16.3", - "@types/ember__template": "^4.0.5", - "@types/ember__polyfills": "^4.0.5", - "@types/ember__utils": "^4.0.6", - "@types/ember__runloop": "^4.0.8", - "@types/ember__debug": "^4.0.7", - "@types/ember__engine": "^4.0.10", - "@types/ember__application": "^4.0.10", - "@types/ember__test": "^4.0.5", - "@types/ember__array": "^4.0.9", - "@types/ember__error": "^4.0.5", - "@types/ember__component": "^4.0.21", - "@types/ember__modifier": "^4.0.8", - "@types/ember__helper": "^4.0.5", - "@types/ember__routing": "^4.0.19", + "@tsconfig/ember": "^3.0.8", "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1",<% } %> "@rollup/plugin-babel": "^6.0.4", diff --git a/files/__addonLocation__/tsconfig.json b/files/__addonLocation__/tsconfig.json index a80eff6..bdb6789 100644 --- a/files/__addonLocation__/tsconfig.json +++ b/files/__addonLocation__/tsconfig.json @@ -48,6 +48,10 @@ We want our tooling to know how to resolve our custom files so the appropriate plugins can do the proper transformations on those files. */ - "allowImportingTsExtensions": true + "allowImportingTsExtensions": true, + + "types": [ + "./node_modules/ember-source/types/stable" + ] } }