diff --git a/addon/index.d.ts b/addon/index.d.ts index 29eec247..62789bc2 100644 --- a/addon/index.d.ts +++ b/addon/index.d.ts @@ -1,9 +1,11 @@ import { Resolver as ResolverContract } from "@ember/owner"; export default class Resolver { - static create(props: Record): InstanceType; - static withModules(modules: Record): this; + static create(this: T, props: Record): InstanceType; + static withModules(this: T, modules: Record): T; } export default interface Resolver extends Required { pluralizedTypes: Record; } + +