Liking cljdoc? Tell your friends :D

dots.typescript.module-resolution-cache


clearcljs

(clear module-resolution-cache)

Returns: void

**Returns:** `void`
sourceraw docstring

from-directory-cachecljs

(from-directory-cache module-resolution-cache name)
(from-directory-cache module-resolution-cache name mode)
(from-directory-cache module-resolution-cache name mode directory-name)
(from-directory-cache module-resolution-cache
                      name
                      mode
                      directory-name
                      redirected-reference)

Parameters:

  • name: string
  • mode: ResolutionMode
  • directory-name: string
  • redirected-reference: ResolvedProjectReference | undefined

Returns: ResolvedModuleWithFailedLookupLocations | undefined

**Parameters:**
- `name`: `string`
- `mode`: `ResolutionMode`
- `directory-name`: `string`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `ResolvedModuleWithFailedLookupLocations | undefined`
sourceraw docstring

from-non-relative-name-cachecljs

(from-non-relative-name-cache module-resolution-cache non-relative-name)
(from-non-relative-name-cache module-resolution-cache non-relative-name mode)
(from-non-relative-name-cache module-resolution-cache
                              non-relative-name
                              mode
                              directory-name)
(from-non-relative-name-cache module-resolution-cache
                              non-relative-name
                              mode
                              directory-name
                              redirected-reference)

Parameters:

  • non-relative-name: string
  • mode: ResolutionMode
  • directory-name: string
  • redirected-reference: ResolvedProjectReference | undefined

Returns: ResolvedModuleWithFailedLookupLocations | undefined

**Parameters:**
- `non-relative-name`: `string`
- `mode`: `ResolutionMode`
- `directory-name`: `string`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `ResolvedModuleWithFailedLookupLocations | undefined`
sourceraw docstring

or-create-cache-for-directorycljs

(or-create-cache-for-directory module-resolution-cache directory-name)
(or-create-cache-for-directory module-resolution-cache
                               directory-name
                               redirected-reference)

Parameters:

  • directory-name: string
  • redirected-reference: ResolvedProjectReference | undefined

Returns: ModeAwareCache<ResolvedModuleWithFailedLookupLocations>

**Parameters:**
- `directory-name`: `string`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `ModeAwareCache<ResolvedModuleWithFailedLookupLocations>`
sourceraw docstring

or-create-cache-for-module-namecljs

(or-create-cache-for-module-name module-resolution-cache
                                 non-relative-module-name)
(or-create-cache-for-module-name module-resolution-cache
                                 non-relative-module-name
                                 mode)
(or-create-cache-for-module-name module-resolution-cache
                                 non-relative-module-name
                                 mode
                                 redirected-reference)

Parameters:

  • non-relative-module-name: string
  • mode: ResolutionMode
  • redirected-reference: ResolvedProjectReference | undefined

Returns: PerModuleNameCache

**Parameters:**
- `non-relative-module-name`: `string`
- `mode`: `ResolutionMode`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `PerModuleNameCache`
sourceraw docstring

or-create-cache-for-non-relative-namecljs

(or-create-cache-for-non-relative-name module-resolution-cache
                                       non-relative-name)
(or-create-cache-for-non-relative-name module-resolution-cache
                                       non-relative-name
                                       mode)
(or-create-cache-for-non-relative-name module-resolution-cache
                                       non-relative-name
                                       mode
                                       redirected-reference)

Parameters:

  • non-relative-name: string
  • mode: ResolutionMode
  • redirected-reference: ResolvedProjectReference | undefined

Returns: PerNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations>

**Parameters:**
- `non-relative-name`: `string`
- `mode`: `ResolutionMode`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `PerNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations>`
sourceraw docstring

package-json-info-cachecljs

(package-json-info-cache module-resolution-cache)

Returns: PackageJsonInfoCache

**Returns:** `PackageJsonInfoCache`
sourceraw docstring

updatecljs

(update module-resolution-cache options)

Updates with the current compilerOptions the cache will operate with. This updates the redirects map as well if needed so module resolutions are cached if they can across the projects

Parameters:

  • options: CompilerOptions

Returns: void

Updates with the current compilerOptions the cache will operate with.
This updates the redirects map as well if needed so module resolutions are cached if they can across the projects

**Parameters:**
- `options`: `CompilerOptions`

**Returns:** `void`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close