UNPKG

469 BTypeScriptView Raw
1import { Resolver as ResolverContract } from "@ember/owner";
2
3export default class Resolver {
4 static create<T extends typeof Resolver>(this: T, props: Record<string, unknown>): InstanceType<T>;
5 static withModules<T extends typeof Resolver>(this: T, modules: Record<string, unknown>): T;
6}
7export default interface Resolver extends Required<ResolverContract> {
8 pluralizedTypes: Record<string, string>;
9 addModules(modules: Record<string, unknown>): void;
10}
11
12