Liking cljdoc? Tell your friends :D

dots.typescript.server


all-files-are-js-or-dts?cljs

(all-files-are-js-or-dts? project)

Parameters:

  • project: Project

Returns: boolean

**Parameters:**
- `project`: `Project`

**Returns:** `boolean`
sourceraw docstring

all-root-files-are-js-or-dts?cljs

(all-root-files-are-js-or-dts? project)

Parameters:

  • project: Project

Returns: boolean

**Parameters:**
- `project`: `Project`

**Returns:** `boolean`
sourceraw docstring

as-normalized-pathcljs

(as-normalized-path file-name)

Parameters:

  • file-name: string

Returns: NormalizedPath

**Parameters:**
- `file-name`: `string`

**Returns:** `NormalizedPath`
sourceraw docstring

close-file-watcher-eventcljs

(close-file-watcher-event)

Returns: "closeFileWatcher"

**Returns:** `"closeFileWatcher"`
sourceraw docstring

command-namescljs

(command-names)

Returns: any

**Returns:** `any`
sourceraw docstring

config-file-diag-eventcljs

(config-file-diag-event)

Returns: "configFileDiag"

**Returns:** `"configFileDiag"`
sourceraw docstring

convert-compiler-optionscljs

(convert-compiler-options protocol-options)

Parameters:

  • protocol-options: ExternalProjectCompilerOptions

Returns: CompilerOptions & CompileOnSaveMixin

**Parameters:**
- `protocol-options`: `ExternalProjectCompilerOptions`

**Returns:** `CompilerOptions & CompileOnSaveMixin`
sourceraw docstring

convert-format-optionscljs

(convert-format-options protocol-options)

Parameters:

  • protocol-options: FormatCodeSettings

Returns: FormatCodeSettings

**Parameters:**
- `protocol-options`: `FormatCodeSettings`

**Returns:** `FormatCodeSettings`
sourceraw docstring

convert-script-kind-namecljs

(convert-script-kind-name script-kind-name)

Parameters:

  • script-kind-name: ScriptKindName

Returns: ScriptKind.Unknown | ScriptKind.JS | ScriptKind.JSX | ScriptKind.TS | ScriptKind.TSX

**Parameters:**
- `script-kind-name`: `ScriptKindName`

**Returns:** `ScriptKind.Unknown | ScriptKind.JS | ScriptKind.JSX | ScriptKind.TS | ScriptKind.TSX`
sourceraw docstring

convert-type-acquisitioncljs

(convert-type-acquisition protocol-options)

Parameters:

  • protocol-options: InferredProjectCompilerOptions

Returns: TypeAcquisition | undefined

**Parameters:**
- `protocol-options`: `InferredProjectCompilerOptions`

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

convert-watch-optionscljs

(convert-watch-options protocol-options)
(convert-watch-options protocol-options current-directory)

Parameters:

  • protocol-options: ExternalProjectCompilerOptions
  • current-directory: string | undefined

Returns: WatchOptionsAndErrors | undefined

**Parameters:**
- `protocol-options`: `ExternalProjectCompilerOptions`
- `current-directory`: `string | undefined`

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

create-directory-watcher-eventcljs

(create-directory-watcher-event)

Returns: "createDirectoryWatcher"

**Returns:** `"createDirectoryWatcher"`
sourceraw docstring

create-file-watcher-eventcljs

(create-file-watcher-event)

Returns: "createFileWatcher"

**Returns:** `"createFileWatcher"`
sourceraw docstring

create-install-typings-requestcljs

(create-install-typings-request project type-acquisition unresolved-imports)
(create-install-typings-request project
                                type-acquisition
                                unresolved-imports
                                cache-path)

Parameters:

  • project: Project
  • type-acquisition: TypeAcquisition
  • unresolved-imports: SortedReadonlyArray<string>
  • cache-path: string | undefined

Returns: DiscoverTypings

**Parameters:**
- `project`: `Project`
- `type-acquisition`: `TypeAcquisition`
- `unresolved-imports`: `SortedReadonlyArray<string>`
- `cache-path`: `string | undefined`

**Returns:** `DiscoverTypings`
sourceraw docstring

create-normalized-path-mapcljs

(create-normalized-path-map)

Returns: NormalizedPathMap<T>

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

create-sorted-arraycljs

(create-sorted-array)

Returns: SortedArray<T>

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

dynamic-file-name?cljs

(dynamic-file-name? file-name)

Parameters:

  • file-name: NormalizedPath

Returns: boolean

**Parameters:**
- `file-name`: `NormalizedPath`

**Returns:** `boolean`
sourceraw docstring

empty-arraycljs

(empty-array)

Returns: SortedReadonlyArray<never>

**Returns:** `SortedReadonlyArray<never>`
sourceraw docstring

format-messagecljs

(format-message msg logger byte-length new-line)

Parameters:

  • msg: T
  • logger: Logger
  • byte-length: (s: string, encoding: BufferEncoding) => number
  • new-line: string

Returns: string

**Parameters:**
- `msg`: `T`
- `logger`: `Logger`
- `byte-length`: `(s: string, encoding: BufferEncoding) => number`
- `new-line`: `string`

**Returns:** `string`
sourceraw docstring

inferred-project-name?cljs

(inferred-project-name? name)

Parameters:

  • name: string

Returns: boolean

**Parameters:**
- `name`: `string`

**Returns:** `boolean`
sourceraw docstring

large-file-referenced-eventcljs

(large-file-referenced-event)

Returns: "largeFileReferenced"

**Returns:** `"largeFileReferenced"`
sourceraw docstring

make-inferred-project-namecljs

(make-inferred-project-name counter)

Parameters:

  • counter: number

Returns: string

**Parameters:**
- `counter`: `number`

**Returns:** `string`
sourceraw docstring

max-program-size-for-non-ts-filescljs

(max-program-size-for-non-ts-files)

Returns: number

**Returns:** `number`
sourceraw docstring

normalized-path-to-pathcljs

(normalized-path-to-path normalized-path current-directory canonical-file-name)

Parameters:

  • normalized-path: NormalizedPath
  • current-directory: string
  • canonical-file-name: (f: string) => string

Returns: Path

**Parameters:**
- `normalized-path`: `NormalizedPath`
- `current-directory`: `string`
- `canonical-file-name`: `(f: string) => string`

**Returns:** `Path`
sourceraw docstring

null-cancellation-tokencljs

(null-cancellation-token)

Returns: ServerCancellationToken

**Returns:** `ServerCancellationToken`
sourceraw docstring

null-typings-installercljs

(null-typings-installer)

Returns: ITypingsInstaller

**Returns:** `ITypingsInstaller`
sourceraw docstring

open-file-info-telemetry-eventcljs

(open-file-info-telemetry-event)

Info that we may send about a file that was just opened. Info about a file will only be sent once per session, even if the file changes in ways that might affect the info. Currently this is only sent for '.js' files.

Returns: "openFileInfo"

Info that we may send about a file that was just opened.
Info about a file will only be sent once per session, even if the file changes in ways that might affect the info.
Currently this is only sent for '.js' files.

**Returns:** `"openFileInfo"`
sourceraw docstring

project-info-telemetry-eventcljs

(project-info-telemetry-event)

This will be converted to the payload of a protocol.TelemetryEvent in session.defaultEventHandler.

Returns: "projectInfo"

This will be converted to the payload of a protocol.TelemetryEvent in session.defaultEventHandler.

**Returns:** `"projectInfo"`
sourceraw docstring

project-language-service-state-eventcljs

(project-language-service-state-event)

Returns: "projectLanguageServiceState"

**Returns:** `"projectLanguageServiceState"`
sourceraw docstring

project-loading-finish-eventcljs

(project-loading-finish-event)

Returns: "projectLoadingFinish"

**Returns:** `"projectLoadingFinish"`
sourceraw docstring

project-loading-start-eventcljs

(project-loading-start-event)

Returns: "projectLoadingStart"

**Returns:** `"projectLoadingStart"`
sourceraw docstring

projects-updated-in-background-eventcljs

(projects-updated-in-background-event)

Returns: "projectsUpdatedInBackground"

**Returns:** `"projectsUpdatedInBackground"`
sourceraw docstring

to-normalized-pathcljs

(to-normalized-path file-name)

Parameters:

  • file-name: string

Returns: NormalizedPath

**Parameters:**
- `file-name`: `string`

**Returns:** `NormalizedPath`
sourceraw docstring

try-convert-script-kind-namecljs

(try-convert-script-kind-name script-kind-name)

Parameters:

  • script-kind-name: ScriptKind | ScriptKindName

Returns: ScriptKind

**Parameters:**
- `script-kind-name`: `ScriptKind | ScriptKindName`

**Returns:** `ScriptKind`
sourceraw docstring

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

× close