Liking cljdoc? Tell your friends :D

dots.typescript.per-directory-resolution-cache

Cached resolutions per containing directory. This assumes that any module id will have the same resolution for sibling files located in the same folder.

Cached resolutions per containing directory.
This assumes that any module id will have the same resolution for sibling files located in the same folder.
raw docstring

clearcljs

(clear per-directory-resolution-cache)

Returns: void

**Returns:** `void`
sourceraw docstring

from-directory-cachecljs

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

Parameters:

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

Returns: T | undefined

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

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

or-create-cache-for-directorycljs

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

Parameters:

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

Returns: ModeAwareCache<T>

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

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

updatecljs

(update per-directory-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