Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.typescript.server.inferred-project

If a file is opened and no tsconfig (or jsconfig) is found, the file and its imports/references are put into an InferredProject.

If a file is opened and no tsconfig (or jsconfig) is found,
the file and its imports/references are put into an InferredProject.
raw docstring

add-missing-file-rootcljs

(add-missing-file-root inferred-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 inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

add-rootcljs

(add-root inferred-project info)

Parameters:

  • info: ScriptInfo

Returns: void

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

**Returns:** `void`
sourceraw docstring

all-project-errorscljs

(all-project-errors inferred-project)

Get all the project errors

Returns: readonly Diagnostic[]

Get all the project errors

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

builder-statecljs

(builder-state inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

cancellation-tokencljs

(cancellation-token inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

clear-generated-file-watchcljs

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

Returns: any

**Returns:** `any`
sourceraw docstring

closecljs

(close inferred-project)

Returns: void

**Returns:** `void`
sourceraw docstring

closed?cljs

(closed? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

compilation-settingscljs

(compilation-settings inferred-project)

Returns: CompilerOptions

**Returns:** `CompilerOptions`
sourceraw docstring

compile-on-save-affected-file-listcljs

(compile-on-save-affected-file-list inferred-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? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

compiler-optionscljs

(compiler-options inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

contains-file?cljs

(contains-file? inferred-project filename)
(contains-file? inferred-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? inferred-project info)

Parameters:

  • info: ScriptInfo

Returns: boolean

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

**Returns:** `boolean`
sourceraw docstring

create-generated-file-watchercljs

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

Returns: any

**Returns:** `any`
sourceraw docstring

current-directorycljs

(current-directory inferred-project)

Returns: string

**Returns:** `string`
sourceraw docstring

default-lib-file-namecljs

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

Returns: string

**Returns:** `string`
sourceraw docstring

detach-script-info-from-projectcljs

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

Returns: any

**Returns:** `any`
sourceraw docstring

detach-script-info-if-not-rootcljs

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

Returns: any

**Returns:** `any`
sourceraw docstring

directoriescljs

(directories inferred-project path)

Parameters:

  • path: string

Returns: string[]

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

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

directory-exists?cljs

(directory-exists? inferred-project path)

Parameters:

  • path: string

Returns: boolean

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

**Returns:** `boolean`
sourceraw docstring

disable-language-servicecljs

(disable-language-service inferred-project)
(disable-language-service inferred-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 inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

emit-filecljs

(emit-file inferred-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 inferred-project options)

Parameters:

  • options: CompilerOptions

Returns: void

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

**Returns:** `void`
sourceraw docstring

enable-language-servicecljs

(enable-language-service inferred-project)

Returns: void

**Returns:** `void`
sourceraw docstring

enable-plugincljs

(enable-plugin inferred-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 inferred-project s)

Parameters:

  • s: string

Returns: void

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

**Returns:** `void`
sourceraw docstring

excluded-filescljs

(excluded-files inferred-project)

Returns: readonly NormalizedPath[]

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

external-filescljs

(external-files inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

file-exists?cljs

(file-exists? inferred-project file)

Parameters:

  • file: string

Returns: boolean

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

**Returns:** `boolean`
sourceraw docstring

file-namescljs

(file-names inferred-project)
(file-names inferred-project exclude-files-from-external-libraries?)
(file-names inferred-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 inferred-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 inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

get-cancellation-tokencljs

(get-cancellation-token inferred-project)

Returns: HostCancellationToken

**Returns:** `HostCancellationToken`
sourceraw docstring

get-compiler-optionscljs

(get-compiler-options inferred-project)

Returns: CompilerOptions

**Returns:** `CompilerOptions`
sourceraw docstring

get-external-filescljs

(get-external-files inferred-project)
(get-external-files inferred-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 inferred-project)
(get-language-service inferred-project ensure-synchronized?)

Parameters:

  • ensure-synchronized?: boolean | undefined

Returns: LanguageService

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

**Returns:** `LanguageService`
sourceraw docstring

get-root-filescljs

(get-root-files inferred-project)

Returns: NormalizedPath[]

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

global-project-errorscljs

(global-project-errors inferred-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? inferred-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? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

initial-load-pendingcljs

(initial-load-pending inferred-project)

Returns: () => boolean

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

install-packagecljs

(install-package inferred-project options)

Parameters:

  • options: InstallPackageOptions

Returns: Promise<ApplyCodeActionCommandResult>

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

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

js-doc-parsing-modecljs

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

Returns: JSDocParsingMode | undefined

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

js-only-project?cljs

(js-only-project? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

known-types-package-name?cljs

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

Parameters:

  • name: string

Returns: boolean

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

**Returns:** `boolean`
sourceraw docstring

language-servicecljs

(language-service inferred-project)

Returns: LanguageService

**Returns:** `LanguageService`
sourceraw docstring

language-service-enabled?cljs

(language-service-enabled? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

last-reported-file-namescljs

(last-reported-file-names inferred-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 inferred-project)

Last version that was reported.

Returns: any

Last version that was reported.

**Returns:** `any`
sourceraw docstring

logcljs

(log inferred-project s)

Parameters:

  • s: string

Returns: void

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

**Returns:** `void`
sourceraw docstring

mark-as-dirtycljs

(mark-as-dirty inferred-project)

Returns: void

**Returns:** `void`
sourceraw docstring

missing-files-mapcljs

(missing-files-map inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

new-linecljs

(new-line inferred-project)

Returns: string

**Returns:** `string`
sourceraw docstring

non-ts-project?cljs

(non-ts-project? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

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

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

Returns: any

**Returns:** `any`
sourceraw docstring

programcljs

(program inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

project-errorscljs

(project-errors inferred-project)

Returns: Diagnostic[] | undefined

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

project-kindcljs

(project-kind inferred-project)

Returns: ProjectKind

**Returns:** `ProjectKind`
sourceraw docstring

project-namecljs

(project-name inferred-project)

Returns: string

**Returns:** `string`
sourceraw docstring

project-referencescljs

(project-references inferred-project)

Returns: readonly ProjectReference[] | undefined

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

project-root-pathcljs

(project-root-path inferred-project)

this is canonical project root path

Returns: string | undefined

this is canonical project root path

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

project-servicecljs

(project-service inferred-project)

Returns: ProjectService

**Returns:** `ProjectService`
sourceraw docstring

project-versioncljs

(project-version inferred-project)

Returns: string

**Returns:** `string`
sourceraw docstring

project-with-single-root?cljs

(project-with-single-root? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

read-directorycljs

(read-directory inferred-project path)
(read-directory inferred-project path extensions)
(read-directory inferred-project path extensions exclude)
(read-directory inferred-project path extensions exclude include)
(read-directory inferred-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 inferred-project file-name)

Parameters:

  • file-name: string

Returns: string | undefined

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

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

realpathcljs

(realpath inferred-project)

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

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

refresh-diagnosticscljs

(refresh-diagnostics inferred-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 inferred-project file-name)

Parameters:

  • file-name: string

Returns: void

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

**Returns:** `void`
sourceraw docstring

remove-existing-typingscljs

(remove-existing-typings inferred-project include)

Parameters:

  • include: string[]

Returns: string[]

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

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

remove-filecljs

(remove-file inferred-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 inferred-project
                                            new-type-acquisition)

Parameters:

  • new-type-acquisition: TypeAcquisition

Returns: TypeAcquisition

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

**Returns:** `TypeAcquisition`
sourceraw docstring

remove-rootcljs

(remove-root inferred-project info)

Parameters:

  • info: ScriptInfo

Returns: void

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

**Returns:** `void`
sourceraw docstring

root-filescljs

(root-files inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

root-files-mapcljs

(root-files-map inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

root-script-infoscljs

(root-script-infos inferred-project)

Returns: ScriptInfo[]

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

root?cljs

(root? inferred-project info)

Parameters:

  • info: ScriptInfo

Returns: boolean

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

**Returns:** `boolean`
sourceraw docstring

script-file-namescljs

(script-file-names inferred-project)

Returns: string[]

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

script-infocljs

(script-info inferred-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 inferred-project file-name)

Parameters:

  • file-name: NormalizedPath

Returns: ScriptInfo | undefined

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

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

script-infoscljs

(script-infos inferred-project)

Returns: ScriptInfo[]

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

script-kindcljs

(script-kind inferred-project file-name)

Parameters:

  • file-name: string

Returns: ScriptKind

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

**Returns:** `ScriptKind`
sourceraw docstring

script-snapshotcljs

(script-snapshot inferred-project filename)

Parameters:

  • filename: string

Returns: IScriptSnapshot | undefined

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

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

script-versioncljs

(script-version inferred-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! inferred-project value)
source

set-builder-state!cljs

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

set-clear-generated-file-watch!cljs

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

set-compile-on-save-enabled!cljs

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

set-compiler-optionscljs

(set-compiler-options inferred-project)
(set-compiler-options inferred-project options)

Parameters:

  • options: CompilerOptions | undefined

Returns: void

**Parameters:**
- `options`: `CompilerOptions | undefined`

**Returns:** `void`
sourceraw docstring

set-compiler-options!cljs

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

set-create-generated-file-watcher!cljs

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

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

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

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

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

set-document-registry!cljs

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

set-external-files!cljs

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

set-generated-files-map!cljs

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

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

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

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

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

Returns: any

**Returns:** `any`
sourceraw docstring

set-is-initial-load-pending!cljs

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

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

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

set-is-watched-missing-file!cljs

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

set-language-service!cljs

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

set-language-service-enabled!cljs

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

set-last-reported-file-names!cljs

(set-last-reported-file-names! inferred-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! inferred-project value)

Last version that was reported.

Last version that was reported.
sourceraw docstring

set-missing-files-map!cljs

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

set-program!cljs

(set-program! inferred-project value)
source

set-project-errorscljs

(set-project-errors inferred-project)
(set-project-errors inferred-project project-errors)

Parameters:

  • project-errors: Diagnostic[] | undefined

Returns: void

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

**Returns:** `void`
sourceraw docstring

set-project-errors!cljs

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

set-root-files!cljs

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

set-root-files-map!cljs

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

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

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

set-type-acquisitioncljs

(set-type-acquisition inferred-project)
(set-type-acquisition inferred-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! inferred-project value)
source

set-updated-file-names!cljs

(set-updated-file-names! inferred-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! inferred-project value)
source

source-filecljs

(source-file inferred-project path)

Parameters:

  • path: Path

Returns: SourceFile | undefined

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

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

toggle-js-inferred-projectcljs

(toggle-js-inferred-project inferred-project js-inferred-project?)

Parameters:

  • js-inferred-project?: boolean

Returns: void

**Parameters:**
- `js-inferred-project?`: `boolean`

**Returns:** `void`
sourceraw docstring

tracecljs

(trace inferred-project)

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

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

type-acquisitioncljs

(type-acquisition inferred-project)

Returns: TypeAcquisition

**Returns:** `TypeAcquisition`
sourceraw docstring

update-graph-workercljs

(update-graph-worker inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

update-graph?cljs

(update-graph? inferred-project)

Updates set of files that contribute to this project

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

Updates set of files that contribute to this project

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

updated-file-namescljs

(updated-file-names inferred-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? inferred-project)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

valid-generated-file-watchercljs

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

Returns: any

**Returns:** `any`
sourceraw docstring

watch-optionscljs

(watch-options inferred-project)

Returns: WatchOptions | undefined

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

watched-missing-filecljs

(watched-missing-file inferred-project)

Returns: any

**Returns:** `any`
sourceraw docstring

write-filecljs

(write-file inferred-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