(all-files-are-js-or-dts? project)
Parameters:
project
: Project
Returns: boolean
**Parameters:** - `project`: `Project` **Returns:** `boolean`
(all-root-files-are-js-or-dts? project)
Parameters:
project
: Project
Returns: boolean
**Parameters:** - `project`: `Project` **Returns:** `boolean`
(as-normalized-path file-name)
Parameters:
file-name
: string
Returns: NormalizedPath
**Parameters:** - `file-name`: `string` **Returns:** `NormalizedPath`
(close-file-watcher-event)
Returns: "closeFileWatcher"
**Returns:** `"closeFileWatcher"`
(config-file-diag-event)
Returns: "configFileDiag"
**Returns:** `"configFileDiag"`
(convert-compiler-options protocol-options)
Parameters:
protocol-options
: ExternalProjectCompilerOptions
Returns: CompilerOptions & CompileOnSaveMixin
**Parameters:** - `protocol-options`: `ExternalProjectCompilerOptions` **Returns:** `CompilerOptions & CompileOnSaveMixin`
(convert-format-options protocol-options)
Parameters:
protocol-options
: FormatCodeSettings
Returns: FormatCodeSettings
**Parameters:** - `protocol-options`: `FormatCodeSettings` **Returns:** `FormatCodeSettings`
(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`
(convert-type-acquisition protocol-options)
Parameters:
protocol-options
: InferredProjectCompilerOptions
Returns: TypeAcquisition | undefined
**Parameters:** - `protocol-options`: `InferredProjectCompilerOptions` **Returns:** `TypeAcquisition | undefined`
(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`
(create-directory-watcher-event)
Returns: "createDirectoryWatcher"
**Returns:** `"createDirectoryWatcher"`
(create-file-watcher-event)
Returns: "createFileWatcher"
**Returns:** `"createFileWatcher"`
(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`
(create-normalized-path-map)
Returns: NormalizedPathMap<T>
**Returns:** `NormalizedPathMap<T>`
(create-sorted-array)
Returns: SortedArray<T>
**Returns:** `SortedArray<T>`
(dynamic-file-name? file-name)
Parameters:
file-name
: NormalizedPath
Returns: boolean
**Parameters:** - `file-name`: `NormalizedPath` **Returns:** `boolean`
(empty-array)
Returns: SortedReadonlyArray<never>
**Returns:** `SortedReadonlyArray<never>`
(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`
(inferred-project-name? name)
Parameters:
name
: string
Returns: boolean
**Parameters:** - `name`: `string` **Returns:** `boolean`
(large-file-referenced-event)
Returns: "largeFileReferenced"
**Returns:** `"largeFileReferenced"`
(make-inferred-project-name counter)
Parameters:
counter
: number
Returns: string
**Parameters:** - `counter`: `number` **Returns:** `string`
(max-program-size-for-non-ts-files)
Returns: number
**Returns:** `number`
(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`
(null-cancellation-token)
Returns: ServerCancellationToken
**Returns:** `ServerCancellationToken`
(null-typings-installer)
Returns: ITypingsInstaller
**Returns:** `ITypingsInstaller`
(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"`
(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"`
(project-language-service-state-event)
Returns: "projectLanguageServiceState"
**Returns:** `"projectLanguageServiceState"`
(project-loading-finish-event)
Returns: "projectLoadingFinish"
**Returns:** `"projectLoadingFinish"`
(project-loading-start-event)
Returns: "projectLoadingStart"
**Returns:** `"projectLoadingStart"`
(projects-updated-in-background-event)
Returns: "projectsUpdatedInBackground"
**Returns:** `"projectsUpdatedInBackground"`
(to-normalized-path file-name)
Parameters:
file-name
: string
Returns: NormalizedPath
**Parameters:** - `file-name`: `string` **Returns:** `NormalizedPath`
(try-convert-script-kind-name script-kind-name)
Parameters:
script-kind-name
: ScriptKind | ScriptKindName
Returns: ScriptKind
**Parameters:** - `script-kind-name`: `ScriptKind | ScriptKindName` **Returns:** `ScriptKind`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close