How to use the resolveTypeReferenceDirective function from typescript

Find comprehensive JavaScript typescript.resolveTypeReferenceDirective code examples handpicked from public code repositorys.

351
352
353
354
355
356
357
358
359
360
        return resolvedModule;
    });
}
resolveTypeReferenceDirectives(typeReferenceDirectiveNames, containingFile, redirectedReference) {
    return typeReferenceDirectiveNames.map(moduleName => {
        const { resolvedTypeReferenceDirective } = ts.resolveTypeReferenceDirective(moduleName, utils_1.workaroundResolve(containingFile), this._options, this, redirectedReference);
        if (this._options.enableIvy && resolvedTypeReferenceDirective && this.ngccProcessor) {
            this.ngccProcessor.processModule(moduleName, resolvedTypeReferenceDirective);
        }
        return resolvedTypeReferenceDirective;
fork icon0
star icon0
watch icon1

Other functions in typescript

Sorted by popularity

function icon

typescript.SyntaxKind is the most popular function in typescript (82777 examples)