(cancellation-token language-service-host)
Returns: HostCancellationToken
**Returns:** `HostCancellationToken`
(compilation-settings language-service-host)
Returns: CompilerOptions
**Returns:** `CompilerOptions`
(compiler-host language-service-host)
Returns: CompilerHost | undefined
**Returns:** `CompilerHost | undefined`
(current-directory language-service-host)
Returns: string
**Returns:** `string`
(custom-transformers language-service-host)
Gets a set of custom transformers to use during emit.
Returns: CustomTransformers | undefined
Gets a set of custom transformers to use during emit. **Returns:** `CustomTransformers | undefined`
(default-lib-file-name language-service-host options)
Parameters:
options
: CompilerOptions
Returns: string
**Parameters:** - `options`: `CompilerOptions` **Returns:** `string`
(directories language-service-host directory-name)
Parameters:
directory-name
: string
Returns: string[]
**Parameters:** - `directory-name`: `string` **Returns:** `string[]`
(directory-exists? language-service-host directory-name)
Parameters:
directory-name
: string
Returns: boolean
**Parameters:** - `directory-name`: `string` **Returns:** `boolean`
(error language-service-host s)
Parameters:
s
: string
Returns: void
**Parameters:** - `s`: `string` **Returns:** `void`
(file-exists? language-service-host path)
Parameters:
path
: string
Returns: boolean
**Parameters:** - `path`: `string` **Returns:** `boolean`
(install-package language-service-host options)
Parameters:
options
: InstallPackageOptions
Returns: Promise<ApplyCodeActionCommandResult>
**Parameters:** - `options`: `InstallPackageOptions` **Returns:** `Promise<ApplyCodeActionCommandResult>`
(js-doc-parsing-mode language-service-host)
Returns: JSDocParsingMode | undefined
**Returns:** `JSDocParsingMode | undefined`
(known-types-package-name? language-service-host name)
Parameters:
name
: string
Returns: boolean
**Parameters:** - `name`: `string` **Returns:** `boolean`
(localized-diagnostic-messages language-service-host)
Returns: any
**Returns:** `any`
(log language-service-host s)
Parameters:
s
: string
Returns: void
**Parameters:** - `s`: `string` **Returns:** `void`
(new-line language-service-host)
Returns: string
**Returns:** `string`
(parsed-command-line language-service-host file-name)
Parameters:
file-name
: string
Returns: ParsedCommandLine | undefined
**Parameters:** - `file-name`: `string` **Returns:** `ParsedCommandLine | undefined`
(project-references language-service-host)
Returns: readonly ProjectReference[] | undefined
**Returns:** `readonly ProjectReference[] | undefined`
(project-version language-service-host)
Returns: string
**Returns:** `string`
(read-directory language-service-host path)
(read-directory language-service-host path extensions)
(read-directory language-service-host path extensions exclude)
(read-directory language-service-host path extensions exclude include)
(read-directory language-service-host path extensions exclude include depth)
Parameters:
path
: string
extensions
: readonly string[] | undefined
exclude
: readonly string[] | undefined
include
: readonly string[] | undefined
depth
: number | undefined
Returns: string[]
**Parameters:** - `path`: `string` - `extensions`: `readonly string[] | undefined` - `exclude`: `readonly string[] | undefined` - `include`: `readonly string[] | undefined` - `depth`: `number | undefined` **Returns:** `string[]`
(read-file language-service-host path)
(read-file language-service-host path encoding)
Parameters:
path
: string
encoding
: string | undefined
Returns: string | undefined
**Parameters:** - `path`: `string` - `encoding`: `string | undefined` **Returns:** `string | undefined`
(realpath language-service-host path)
Parameters:
path
: string
Returns: string
**Parameters:** - `path`: `string` **Returns:** `string`
(resolve-module-name-literals language-service-host
module-literals
containing-file)
(resolve-module-name-literals language-service-host
module-literals
containing-file
redirected-reference)
(resolve-module-name-literals language-service-host
module-literals
containing-file
redirected-reference
options)
(resolve-module-name-literals language-service-host
module-literals
containing-file
redirected-reference
options
containing-source-file)
(resolve-module-name-literals language-service-host
module-literals
containing-file
redirected-reference
options
containing-source-file
reused-names)
Parameters:
module-literals
: readonly StringLiteralLike[]
containing-file
: string
redirected-reference
: ResolvedProjectReference | undefined
options
: CompilerOptions
containing-source-file
: SourceFile
reused-names
: readonly StringLiteralLike[] | undefined
Returns: readonly ResolvedModuleWithFailedLookupLocations[]
**Parameters:** - `module-literals`: `readonly StringLiteralLike[]` - `containing-file`: `string` - `redirected-reference`: `ResolvedProjectReference | undefined` - `options`: `CompilerOptions` - `containing-source-file`: `SourceFile` - `reused-names`: `readonly StringLiteralLike[] | undefined` **Returns:** `readonly ResolvedModuleWithFailedLookupLocations[]`
(resolve-module-names language-service-host module-names containing-file)
(resolve-module-names language-service-host
module-names
containing-file
reused-names)
(resolve-module-names language-service-host
module-names
containing-file
reused-names
redirected-reference)
(resolve-module-names language-service-host
module-names
containing-file
reused-names
redirected-reference
options)
(resolve-module-names language-service-host
module-names
containing-file
reused-names
redirected-reference
options
containing-source-file)
Parameters:
module-names
: string[]
containing-file
: string
reused-names
: string[] | undefined
redirected-reference
: ResolvedProjectReference | undefined
options
: CompilerOptions
containing-source-file
: SourceFile | undefined
Returns: (ResolvedModule | undefined)[]
**Parameters:** - `module-names`: `string[]` - `containing-file`: `string` - `reused-names`: `string[] | undefined` - `redirected-reference`: `ResolvedProjectReference | undefined` - `options`: `CompilerOptions` - `containing-source-file`: `SourceFile | undefined` **Returns:** `(ResolvedModule | undefined)[]`
(resolve-type-reference-directive-references language-service-host
type-directive-references
containing-file)
(resolve-type-reference-directive-references language-service-host
type-directive-references
containing-file
redirected-reference)
(resolve-type-reference-directive-references language-service-host
type-directive-references
containing-file
redirected-reference
options)
(resolve-type-reference-directive-references language-service-host
type-directive-references
containing-file
redirected-reference
options
containing-source-file)
(resolve-type-reference-directive-references language-service-host
type-directive-references
containing-file
redirected-reference
options
containing-source-file
reused-names)
Parameters:
type-directive-references
: readonly T[]
containing-file
: string
redirected-reference
: ResolvedProjectReference | undefined
options
: CompilerOptions
containing-source-file
: SourceFile | undefined
reused-names
: readonly T[] | undefined
Returns: readonly ResolvedTypeReferenceDirectiveWithFailedLookupLocations[]
**Parameters:** - `type-directive-references`: `readonly T[]` - `containing-file`: `string` - `redirected-reference`: `ResolvedProjectReference | undefined` - `options`: `CompilerOptions` - `containing-source-file`: `SourceFile | undefined` - `reused-names`: `readonly T[] | undefined` **Returns:** `readonly ResolvedTypeReferenceDirectiveWithFailedLookupLocations[]`
(resolve-type-reference-directives language-service-host
type-directive-names
containing-file)
(resolve-type-reference-directives language-service-host
type-directive-names
containing-file
redirected-reference)
(resolve-type-reference-directives language-service-host
type-directive-names
containing-file
redirected-reference
options)
(resolve-type-reference-directives language-service-host
type-directive-names
containing-file
redirected-reference
options
containing-file-mode)
Parameters:
type-directive-names
: string[] | FileReference[]
containing-file
: string
redirected-reference
: ResolvedProjectReference | undefined
options
: CompilerOptions
containing-file-mode
: ResolutionMode
Returns: (ResolvedTypeReferenceDirective | undefined)[]
**Parameters:** - `type-directive-names`: `string[] | FileReference[]` - `containing-file`: `string` - `redirected-reference`: `ResolvedProjectReference | undefined` - `options`: `CompilerOptions` - `containing-file-mode`: `ResolutionMode` **Returns:** `(ResolvedTypeReferenceDirective | undefined)[]`
(resolved-module-with-failed-lookup-locations-from-cache language-service-host
modulename
containing-file)
(resolved-module-with-failed-lookup-locations-from-cache language-service-host
modulename
containing-file
resolution-mode)
Parameters:
modulename
: string
containing-file
: string
resolution-mode
: ResolutionMode
Returns: ResolvedModuleWithFailedLookupLocations | undefined
**Parameters:** - `modulename`: `string` - `containing-file`: `string` - `resolution-mode`: `ResolutionMode` **Returns:** `ResolvedModuleWithFailedLookupLocations | undefined`
(script-file-names language-service-host)
Returns: string[]
**Returns:** `string[]`
(script-kind language-service-host file-name)
Parameters:
file-name
: string
Returns: ScriptKind
**Parameters:** - `file-name`: `string` **Returns:** `ScriptKind`
(script-snapshot language-service-host file-name)
Parameters:
file-name
: string
Returns: IScriptSnapshot | undefined
**Parameters:** - `file-name`: `string` **Returns:** `IScriptSnapshot | undefined`
(script-version language-service-host file-name)
Parameters:
file-name
: string
Returns: string
**Parameters:** - `file-name`: `string` **Returns:** `string`
(trace language-service-host s)
Parameters:
s
: string
Returns: void
**Parameters:** - `s`: `string` **Returns:** `void`
(type-roots-version language-service-host)
Returns: number
**Returns:** `number`
(use-case-sensitive-file-names? language-service-host)
Returns: boolean
**Returns:** `boolean`
(write-file language-service-host file-name content)
Parameters:
file-name
: string
content
: string
Returns: void
**Parameters:** - `file-name`: `string` - `content`: `string` **Returns:** `void`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close