diff --git a/addon/package.json b/addon/package.json index 6747db8..b693780 100644 --- a/addon/package.json +++ b/addon/package.json @@ -23,6 +23,10 @@ "types": "./declarations/services/page-title.d.ts", "default": "./dist/services/page-title.js" }, + "./helpers/page-title": { + "types": "./declarations/helpers/page-title.d.ts", + "default": "./dist/helpers/page-title.js" + }, "./test-support": { "types": "./declarations/test-support/index.d.ts", "default": "./dist/test-support/index.js" diff --git a/test-types/index.ts b/test-types/index.ts index 5e9c25d..710738c 100644 --- a/test-types/index.ts +++ b/test-types/index.ts @@ -3,10 +3,12 @@ import '@glint/environment-ember-loose'; // imports all resolve import 'ember-page-title'; -import 'ember-page-title/services/page-title'; import 'ember-page-title/test-support'; import 'ember-page-title/template-registry'; import 'ember-page-title/service-registry'; +// required for ember-cli +import 'ember-page-title/services/page-title'; +import 'ember-page-title/helpers/page-title'; import { expectTypeOf } from 'expect-type';