We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c709000 + 41a53fe commit 0915bcfCopy full SHA for 0915bcf
addon/index.d.ts
@@ -1,9 +1,11 @@
1
import { Resolver as ResolverContract } from "@ember/owner";
2
3
export default class Resolver {
4
- static create(props: Record<string, unknown>): InstanceType<this>;
5
- static withModules(modules: Record<string, unknown>): this;
+ static create<T extends typeof Resolver>(this: T, props: Record<string, unknown>): InstanceType<T>;
+ static withModules<T extends typeof Resolver>(this: T, modules: Record<string, unknown>): T;
6
}
7
export default interface Resolver extends Required<ResolverContract> {
8
pluralizedTypes: Record<string, string>;
9
10
+
11
0 commit comments