Function: candidatesOf()
Documentation / @wtf/project-resolve / hooks / candidatesOf
function candidatesOf(specifier): string[];Defined in: packages/project-resolve/src/hooks.ts:132
The modules of TypeScript a relative specifier names, in the order TypeScript looks for them:
the .ts of the .js, or, of a specifier with no extension of JavaScript, its .ts and then
its folder’s index.ts.
Parameters
| Parameter | Type |
|---|---|
specifier | string |
Returns
string[]
