Skip to content

Commit

Permalink
Fix exports, add test
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Dec 27, 2023
1 parent 700e5b5 commit 1d9876b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion test-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 1d9876b

Please sign in to comment.