Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.typescript.server.configured-project

If a file is opened, the server will look for a tsconfig (or jsconfig) and if successful create a ConfiguredProject for it. Otherwise it will create an InferredProject.

If a file is opened, the server will look for a tsconfig (or jsconfig)
and if successful create a ConfiguredProject for it.
Otherwise it will create an InferredProject.
raw docstring

add-missing-file-rootcljs

(add-missing-file-root configured-project file-name)

Parameters:

  • file-name: NormalizedPath

Returns: void

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

**Returns:** `void`
sourceraw docstring

add-missing-file-watchercljs

(add-missing-file-watcher configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

add-rootcljs

(add-root configured-project info)
(add-root configured-project info file-name)

Parameters:

  • info: ScriptInfo
  • file-name: NormalizedPath | undefined

Returns: void

**Parameters:**
- `info`: `ScriptInfo`
- `file-name`: `NormalizedPath | undefined`

**Returns:** `void`
sourceraw docstring

all-project-errorscljs

(all-project-errors configured-project)

Get all the project errors

Returns: readonly Diagnostic[]

Get all the project errors

**Returns:** `readonly Diagnostic[]`
sourceraw docstring

builder-statecljs

(builder-state configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

cancellation-tokencljs

(cancellation-token configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

canonical-config-file-pathcljs

(canonical-config-file-path configured-project)

Returns: NormalizedPath

**Returns:** `NormalizedPath`
sourceraw docstring

clear-generated-file-watchcljs

(clear-generated-file-watch configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

closecljs

(close configured-project)

Returns: void

**Returns:** `void`
sourceraw docstring

closed?cljs

(closed? configured-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

compilation-settingscljs

(compilation-settings configured-project)

Returns: CompilerOptions

**Returns:** `CompilerOptions`
sourceraw docstring

compile-on-save-affected-file-listcljs

(compile-on-save-affected-file-list configured-project script-info)

Parameters:

  • script-info: ScriptInfo

Returns: string[]

**Parameters:**
- `script-info`: `ScriptInfo`

**Returns:** `string[]`
sourceraw docstring

compile-on-save-enabled?cljs

(compile-on-save-enabled? configured-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

compiler-optionscljs

(compiler-options configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

config-file-pathcljs

(config-file-path configured-project)

Returns: NormalizedPath

**Returns:** `NormalizedPath`
sourceraw docstring

contains-file?cljs

(contains-file? configured-project filename)
(contains-file? configured-project filename require-open?)

Parameters:

  • filename: NormalizedPath
  • require-open?: boolean | undefined

Returns: boolean

**Parameters:**
- `filename`: `NormalizedPath`
- `require-open?`: `boolean | undefined`

**Returns:** `boolean`
sourceraw docstring

contains-script-info?cljs

(contains-script-info? configured-project info)

Parameters:

  • info: ScriptInfo

Returns: boolean

**Parameters:**
- `info`: `ScriptInfo`

**Returns:** `boolean`
sourceraw docstring

create-generated-file-watchercljs

(create-generated-file-watcher configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

current-directorycljs

(current-directory configured-project)

Returns: string

**Returns:** `string`
sourceraw docstring

default-lib-file-namecljs

(default-lib-file-name configured-project)

Returns: string

**Returns:** `string`
sourceraw docstring

detach-script-info-from-projectcljs

(detach-script-info-from-project configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

detach-script-info-if-not-rootcljs

(detach-script-info-if-not-root configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

directoriescljs

(directories configured-project path)

Parameters:

  • path: string

Returns: string[]

**Parameters:**
- `path`: `string`

**Returns:** `string[]`
sourceraw docstring

directory-exists?cljs

(directory-exists? configured-project path)

Parameters:

  • path: string

Returns: boolean

**Parameters:**
- `path`: `string`

**Returns:** `boolean`
sourceraw docstring

disable-language-servicecljs

(disable-language-service configured-project)
(disable-language-service configured-project last-file-exceeded-program-size)

Parameters:

  • last-file-exceeded-program-size: string | undefined

Returns: void

**Parameters:**
- `last-file-exceeded-program-size`: `string | undefined`

**Returns:** `void`
sourceraw docstring

document-registrycljs

(document-registry configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

effective-type-rootscljs

(effective-type-roots configured-project)

Returns: string[]

**Returns:** `string[]`
sourceraw docstring

emit-filecljs

(emit-file configured-project script-info write-file)

Returns true if emit was conducted

Parameters:

  • script-info: ScriptInfo
  • write-file: (path: string, data: string, writeByteOrderMark?: boolean | undefined) => void

Returns: EmitResult

Returns true if emit was conducted

**Parameters:**
- `script-info`: `ScriptInfo`
- `write-file`: `(path: string, data: string, writeByteOrderMark?: boolean | undefined) => void`

**Returns:** `EmitResult`
sourceraw docstring

enable-global-pluginscljs

(enable-global-plugins configured-project options)

Parameters:

  • options: CompilerOptions

Returns: void

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

**Returns:** `void`
sourceraw docstring

enable-language-servicecljs

(enable-language-service configured-project)

Returns: void

**Returns:** `void`
sourceraw docstring

enable-plugincljs

(enable-plugin configured-project plugin-config-entry search-paths)

Parameters:

  • plugin-config-entry: PluginImport
  • search-paths: string[]

Returns: void

**Parameters:**
- `plugin-config-entry`: `PluginImport`
- `search-paths`: `string[]`

**Returns:** `void`
sourceraw docstring

errorcljs

(error configured-project s)

Parameters:

  • s: string

Returns: void

**Parameters:**
- `s`: `string`

**Returns:** `void`
sourceraw docstring

excluded-filescljs

(excluded-files configured-project)

Returns: readonly NormalizedPath[]

**Returns:** `readonly NormalizedPath[]`
sourceraw docstring

external-filescljs

(external-files configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

external-project-ref-countcljs

(external-project-ref-count configured-project)

Ref count to the project when opened from external project

Returns: any

Ref count to the project when opened from external project

**Returns:** `any`
sourceraw docstring

file-exists?cljs

(file-exists? configured-project file)

Parameters:

  • file: string

Returns: boolean

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

**Returns:** `boolean`
sourceraw docstring

file-namescljs

(file-names configured-project)
(file-names configured-project exclude-files-from-external-libraries?)
(file-names configured-project
            exclude-files-from-external-libraries?
            exclude-config-files?)

Parameters:

  • exclude-files-from-external-libraries?: boolean | undefined
  • exclude-config-files?: boolean | undefined

Returns: NormalizedPath[]

**Parameters:**
- `exclude-files-from-external-libraries?`: `boolean | undefined`
- `exclude-config-files?`: `boolean | undefined`

**Returns:** `NormalizedPath[]`
sourceraw docstring

files-to-stringcljs

(files-to-string configured-project write-project-file-names?)

Parameters:

  • write-project-file-names?: boolean

Returns: string

**Parameters:**
- `write-project-file-names?`: `boolean`

**Returns:** `string`
sourceraw docstring

generated-files-mapcljs

(generated-files-map configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

get-cancellation-tokencljs

(get-cancellation-token configured-project)

Returns: HostCancellationToken

**Returns:** `HostCancellationToken`
sourceraw docstring

get-compiler-optionscljs

(get-compiler-options configured-project)

Returns: CompilerOptions

**Returns:** `CompilerOptions`
sourceraw docstring

get-external-filescljs

(get-external-files configured-project)
(get-external-files configured-project update-level)

Parameters:

  • update-level: ProgramUpdateLevel | undefined

Returns: SortedReadonlyArray<string>

**Parameters:**
- `update-level`: `ProgramUpdateLevel | undefined`

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

get-language-servicecljs

(get-language-service configured-project)
(get-language-service configured-project ensure-synchronized?)

Parameters:

  • ensure-synchronized?: boolean | undefined

Returns: LanguageService

**Parameters:**
- `ensure-synchronized?`: `boolean | undefined`

**Returns:** `LanguageService`
sourceraw docstring

get-project-referencescljs

(get-project-references configured-project)

Returns: readonly ProjectReference[] | undefined

**Returns:** `readonly ProjectReference[] | undefined`
sourceraw docstring

get-root-filescljs

(get-root-files configured-project)

Returns: NormalizedPath[]

**Returns:** `NormalizedPath[]`
sourceraw docstring

global-project-errorscljs

(global-project-errors configured-project)

Get the errors that dont have any file name associated

Returns: readonly Diagnostic[]

Get the errors that dont have any file name associated

**Returns:** `readonly Diagnostic[]`
sourceraw docstring

has-config-file?cljs

(has-config-file? configured-project config-file-path)

Parameters:

  • config-file-path: NormalizedPath

Returns: boolean

**Parameters:**
- `config-file-path`: `NormalizedPath`

**Returns:** `boolean`
sourceraw docstring

has-roots?cljs

(has-roots? configured-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

initial-load-pendingcljs

(initial-load-pending configured-project)

Returns: () => boolean

**Returns:** `() => boolean`
sourceraw docstring

install-packagecljs

(install-package configured-project options)

Parameters:

  • options: InstallPackageOptions

Returns: Promise<ApplyCodeActionCommandResult>

**Parameters:**
- `options`: `InstallPackageOptions`

**Returns:** `Promise<ApplyCodeActionCommandResult>`
sourceraw docstring

js-doc-parsing-modecljs

(js-doc-parsing-mode configured-project)

Returns: JSDocParsingMode | undefined

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

js-only-project?cljs

(js-only-project? configured-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

known-types-package-name?cljs

(known-types-package-name? configured-project name)

Parameters:

  • name: string

Returns: boolean

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

**Returns:** `boolean`
sourceraw docstring

language-servicecljs

(language-service configured-project)

Returns: LanguageService

**Returns:** `LanguageService`
sourceraw docstring

language-service-enabled?cljs

(language-service-enabled? configured-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

last-reported-file-namescljs

(last-reported-file-names configured-project)

Set of files that was returned from the last call to getChangesSinceVersion.

Returns: any

Set of files that was returned from the last call to getChangesSinceVersion.

**Returns:** `any`
sourceraw docstring

last-reported-versioncljs

(last-reported-version configured-project)

Last version that was reported.

Returns: any

Last version that was reported.

**Returns:** `any`
sourceraw docstring

logcljs

(log configured-project s)

Parameters:

  • s: string

Returns: void

**Parameters:**
- `s`: `string`

**Returns:** `void`
sourceraw docstring

mark-as-dirtycljs

(mark-as-dirty configured-project)

Returns: void

**Returns:** `void`
sourceraw docstring

missing-files-mapcljs

(missing-files-map configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

new-linecljs

(new-line configured-project)

Returns: string

**Returns:** `string`
sourceraw docstring

non-ts-project?cljs

(non-ts-project? configured-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

or-create-script-info-and-attach-to-projectcljs

(or-create-script-info-and-attach-to-project configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

programcljs

(program configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

project-errorscljs

(project-errors configured-project)

Returns: Diagnostic[] | undefined

**Returns:** `Diagnostic[] | undefined`
sourceraw docstring

project-kindcljs

(project-kind configured-project)

Returns: ProjectKind

**Returns:** `ProjectKind`
sourceraw docstring

project-namecljs

(project-name configured-project)

Returns: string

**Returns:** `string`
sourceraw docstring

project-referencescljs

(project-references configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

project-servicecljs

(project-service configured-project)

Returns: ProjectService

**Returns:** `ProjectService`
sourceraw docstring

project-versioncljs

(project-version configured-project)

Returns: string

**Returns:** `string`
sourceraw docstring

read-directorycljs

(read-directory configured-project path)
(read-directory configured-project path extensions)
(read-directory configured-project path extensions exclude)
(read-directory configured-project path extensions exclude include)
(read-directory configured-project 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[]`
sourceraw docstring

read-filecljs

(read-file configured-project file-name)

Parameters:

  • file-name: string

Returns: string | undefined

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

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

realpathcljs

(realpath configured-project)

Returns: ((path: string) => string) | undefined

**Returns:** `((path: string) => string) | undefined`
sourceraw docstring

refresh-diagnosticscljs

(refresh-diagnostics configured-project)

Starts a new check for diagnostics. Call this if some file has updated that would cause diagnostics to be changed.

Returns: void

Starts a new check for diagnostics. Call this if some file has updated that would cause diagnostics to be changed.

**Returns:** `void`
sourceraw docstring

register-file-updatecljs

(register-file-update configured-project file-name)

Parameters:

  • file-name: string

Returns: void

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

**Returns:** `void`
sourceraw docstring

remove-existing-typingscljs

(remove-existing-typings configured-project include)

Parameters:

  • include: string[]

Returns: string[]

**Parameters:**
- `include`: `string[]`

**Returns:** `string[]`
sourceraw docstring

remove-filecljs

(remove-file configured-project info file-exists? detach-from-project?)

Parameters:

  • info: ScriptInfo
  • file-exists?: boolean
  • detach-from-project?: boolean

Returns: void

**Parameters:**
- `info`: `ScriptInfo`
- `file-exists?`: `boolean`
- `detach-from-project?`: `boolean`

**Returns:** `void`
sourceraw docstring

remove-local-typings-from-type-acquisitioncljs

(remove-local-typings-from-type-acquisition configured-project
                                            new-type-acquisition)

Parameters:

  • new-type-acquisition: TypeAcquisition

Returns: TypeAcquisition

**Parameters:**
- `new-type-acquisition`: `TypeAcquisition`

**Returns:** `TypeAcquisition`
sourceraw docstring

remove-rootcljs

(remove-root configured-project info)

Parameters:

  • info: ScriptInfo

Returns: void

**Parameters:**
- `info`: `ScriptInfo`

**Returns:** `void`
sourceraw docstring

root-filescljs

(root-files configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

root-files-mapcljs

(root-files-map configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

root-script-infoscljs

(root-script-infos configured-project)

Returns: ScriptInfo[]

**Returns:** `ScriptInfo[]`
sourceraw docstring

root?cljs

(root? configured-project info)

Parameters:

  • info: ScriptInfo

Returns: boolean

**Parameters:**
- `info`: `ScriptInfo`

**Returns:** `boolean`
sourceraw docstring

script-file-namescljs

(script-file-names configured-project)

Returns: string[]

**Returns:** `string[]`
sourceraw docstring

script-infocljs

(script-info configured-project unchecked-file-name)

Parameters:

  • unchecked-file-name: string

Returns: ScriptInfo | undefined

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

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

script-info-for-normalized-pathcljs

(script-info-for-normalized-path configured-project file-name)

Parameters:

  • file-name: NormalizedPath

Returns: ScriptInfo | undefined

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

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

script-infoscljs

(script-infos configured-project)

Returns: ScriptInfo[]

**Returns:** `ScriptInfo[]`
sourceraw docstring

script-kindcljs

(script-kind configured-project file-name)

Parameters:

  • file-name: string

Returns: ScriptKind

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

**Returns:** `ScriptKind`
sourceraw docstring

script-snapshotcljs

(script-snapshot configured-project filename)

Parameters:

  • filename: string

Returns: IScriptSnapshot | undefined

**Parameters:**
- `filename`: `string`

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

script-versioncljs

(script-version configured-project filename)

Parameters:

  • filename: string

Returns: string

**Parameters:**
- `filename`: `string`

**Returns:** `string`
sourceraw docstring

set-add-missing-file-watcher!cljs

(set-add-missing-file-watcher! configured-project value)
source

set-builder-state!cljs

(set-builder-state! configured-project value)
source

set-clear-generated-file-watch!cljs

(set-clear-generated-file-watch! configured-project value)
source

set-compile-on-save-enabled!cljs

(set-compile-on-save-enabled! configured-project value)
source

set-compiler-optionscljs

(set-compiler-options configured-project compiler-options)

Parameters:

  • compiler-options: CompilerOptions

Returns: void

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

**Returns:** `void`
sourceraw docstring

set-compiler-options!cljs

(set-compiler-options! configured-project value)
source

set-create-generated-file-watcher!cljs

(set-create-generated-file-watcher! configured-project value)
source

set-detach-script-info-from-project!cljs

(set-detach-script-info-from-project! configured-project value)
source

set-detach-script-info-if-not-root!cljs

(set-detach-script-info-if-not-root! configured-project value)
source

set-document-registry!cljs

(set-document-registry! configured-project value)
source

set-external-files!cljs

(set-external-files! configured-project value)
source

set-external-project-ref-count!cljs

(set-external-project-ref-count! configured-project value)

Ref count to the project when opened from external project

Ref count to the project when opened from external project
sourceraw docstring

set-generated-files-map!cljs

(set-generated-files-map! configured-project value)
source

set-get-or-create-script-info-and-attach-to-project!cljs

(set-get-or-create-script-info-and-attach-to-project! configured-project value)
source

set-internal-compiler-options-for-emitting-js-filescljs

(set-internal-compiler-options-for-emitting-js-files configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

set-is-initial-load-pending!cljs

(set-is-initial-load-pending! configured-project value)
source

set-is-valid-generated-file-watcher!cljs

(set-is-valid-generated-file-watcher! configured-project value)
source

set-is-watched-missing-file!cljs

(set-is-watched-missing-file! configured-project value)
source

set-language-service!cljs

(set-language-service! configured-project value)
source

set-language-service-enabled!cljs

(set-language-service-enabled! configured-project value)
source

set-last-reported-file-names!cljs

(set-last-reported-file-names! configured-project value)

Set of files that was returned from the last call to getChangesSinceVersion.

Set of files that was returned from the last call to getChangesSinceVersion.
sourceraw docstring

set-last-reported-version!cljs

(set-last-reported-version! configured-project value)

Last version that was reported.

Last version that was reported.
sourceraw docstring

set-missing-files-map!cljs

(set-missing-files-map! configured-project value)
source

set-program!cljs

(set-program! configured-project value)
source

set-project-errorscljs

(set-project-errors configured-project project-errors)

Parameters:

  • project-errors: Diagnostic[]

Returns: void

**Parameters:**
- `project-errors`: `Diagnostic[]`

**Returns:** `void`
sourceraw docstring

set-project-errors!cljs

(set-project-errors! configured-project value)
source

set-project-references!cljs

(set-project-references! configured-project value)
source

set-root-files!cljs

(set-root-files! configured-project value)
source

set-root-files-map!cljs

(set-root-files-map! configured-project value)
source

set-set-internal-compiler-options-for-emitting-js-files!cljs

(set-set-internal-compiler-options-for-emitting-js-files! configured-project
                                                          value)
source

set-type-acquisitioncljs

(set-type-acquisition configured-project)
(set-type-acquisition configured-project new-type-acquisition)

Parameters:

  • new-type-acquisition: TypeAcquisition | undefined

Returns: void

**Parameters:**
- `new-type-acquisition`: `TypeAcquisition | undefined`

**Returns:** `void`
sourceraw docstring

set-update-graph-worker!cljs

(set-update-graph-worker! configured-project value)
source

set-updated-file-names!cljs

(set-updated-file-names! configured-project value)

Set of files names that were updated since the last call to getChangesSinceVersion.

Set of files names that were updated since the last call to getChangesSinceVersion.
sourceraw docstring

set-watch-options!cljs

(set-watch-options! configured-project value)
source

source-filecljs

(source-file configured-project path)

Parameters:

  • path: Path

Returns: SourceFile | undefined

**Parameters:**
- `path`: `Path`

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

tracecljs

(trace configured-project)

Returns: ((s: string) => void) | undefined

**Returns:** `((s: string) => void) | undefined`
sourceraw docstring

type-acquisitioncljs

(type-acquisition configured-project)

Returns: TypeAcquisition

**Returns:** `TypeAcquisition`
sourceraw docstring

update-graph-workercljs

(update-graph-worker configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

update-graph?cljs

(update-graph? configured-project)

If the project has reload from disk pending, it reloads (and then updates graph as part of that) instead of just updating the graph

Returns: boolean - : true if set of files in the project stays the same and false - otherwise.

If the project has reload from disk pending, it reloads (and then updates graph as part of that) instead of just updating the graph

**Returns:** `boolean` - : true if set of files in the project stays the same and false - otherwise.
sourceraw docstring

update-referencescljs

(update-references configured-project)
(update-references configured-project refs)

Parameters:

  • refs: readonly ProjectReference[] | undefined

Returns: void

**Parameters:**
- `refs`: `readonly ProjectReference[] | undefined`

**Returns:** `void`
sourceraw docstring

updated-file-namescljs

(updated-file-names configured-project)

Set of files names that were updated since the last call to getChangesSinceVersion.

Returns: any

Set of files names that were updated since the last call to getChangesSinceVersion.

**Returns:** `any`
sourceraw docstring

use-case-sensitive-file-names?cljs

(use-case-sensitive-file-names? configured-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

valid-generated-file-watchercljs

(valid-generated-file-watcher configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

watch-optionscljs

(watch-options configured-project)

Returns: WatchOptions | undefined

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

watched-missing-filecljs

(watched-missing-file configured-project)

Returns: any

**Returns:** `any`
sourceraw docstring

write-filecljs

(write-file configured-project file-name content)

Parameters:

  • file-name: string
  • content: string

Returns: void

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

**Returns:** `void`
sourceraw docstring

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

× close