Skip to content

Commit bc4d163

Browse files
committed
Fix exports, add test
1 parent e7aad6d commit bc4d163

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

addon/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"types": "./declarations/services/page-title.d.ts",
2424
"default": "./dist/services/page-title.js"
2525
},
26+
"./helpers/page-title": {
27+
"types": "./declarations/helpers/page-title.d.ts",
28+
"default": "./dist/helpers/page-title.js"
29+
},
2630
"./test-support": {
2731
"types": "./declarations/test-support/index.d.ts",
2832
"default": "./dist/test-support/index.js"

test-types/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ import '@glint/environment-ember-loose';
33

44
// imports all resolve
55
import 'ember-page-title';
6-
import 'ember-page-title/services/page-title';
76
import 'ember-page-title/test-support';
87
import 'ember-page-title/template-registry';
98
import 'ember-page-title/service-registry';
9+
// required for ember-cli
10+
import 'ember-page-title/services/page-title';
11+
import 'ember-page-title/helpers/page-title';
1012

1113

1214
import { expectTypeOf } from 'expect-type';

0 commit comments

Comments
 (0)