Skip to content

Commit

Permalink
Add TypeScript declaration files
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeAstapov committed Jan 4, 2025
1 parent fa29669 commit 64351d2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,12 @@
"volta": {
"node": "18.20.5",
"yarn": "1.22.19"
},
"typesVersions": {
"*": {
"*": [
"types/*"
]
}
}
}
5 changes: 5 additions & 0 deletions types/test-support/load.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { TestLoader } from 'ember-qunit/test-loader';

declare class EmberExamTestLoader extends TestLoader {}

export default function loadEmberExam(): EmberExamTestLoader;
5 changes: 5 additions & 0 deletions types/test-support/start.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { start } from 'ember-qunit';

type QUnitStartOptions = Parameters<typeof start>[0];

export default function startEmberExam(options?: QUnitStartOptions): void;

0 comments on commit 64351d2

Please sign in to comment.