(add-missing-file-root auto-import-provider-project file-name)
Parameters:
file-name
: NormalizedPath
Returns: void
**Parameters:** - `file-name`: `NormalizedPath` **Returns:** `void`
(add-missing-file-watcher auto-import-provider-project)
Returns: any
**Returns:** `any`
(add-root auto-import-provider-project info)
(add-root auto-import-provider-project info file-name)
Parameters:
info
: ScriptInfo
file-name
: NormalizedPath | undefined
Returns: void
**Parameters:** - `info`: `ScriptInfo` - `file-name`: `NormalizedPath | undefined` **Returns:** `void`
(all-project-errors auto-import-provider-project)
Get all the project errors
Returns: readonly Diagnostic[]
Get all the project errors **Returns:** `readonly Diagnostic[]`
(builder-state auto-import-provider-project)
Returns: any
**Returns:** `any`
(cancellation-token auto-import-provider-project)
Returns: any
**Returns:** `any`
(clear-generated-file-watch auto-import-provider-project)
Returns: any
**Returns:** `any`
(closed? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(compilation-settings auto-import-provider-project)
Returns: CompilerOptions
**Returns:** `CompilerOptions`
(compile-on-save-affected-file-list auto-import-provider-project script-info)
Parameters:
script-info
: ScriptInfo
Returns: string[]
**Parameters:** - `script-info`: `ScriptInfo` **Returns:** `string[]`
(compile-on-save-enabled? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(compiler-options auto-import-provider-project)
Returns: any
**Returns:** `any`
(contains-file? auto-import-provider-project filename)
(contains-file? auto-import-provider-project filename require-open?)
Parameters:
filename
: NormalizedPath
require-open?
: boolean | undefined
Returns: boolean
**Parameters:** - `filename`: `NormalizedPath` - `require-open?`: `boolean | undefined` **Returns:** `boolean`
(contains-script-info? auto-import-provider-project info)
Parameters:
info
: ScriptInfo
Returns: boolean
**Parameters:** - `info`: `ScriptInfo` **Returns:** `boolean`
(create-generated-file-watcher auto-import-provider-project)
Returns: any
**Returns:** `any`
(current-directory auto-import-provider-project)
Returns: string
**Returns:** `string`
(default-lib-file-name auto-import-provider-project)
Returns: string
**Returns:** `string`
(detach-script-info-from-project auto-import-provider-project)
Returns: any
**Returns:** `any`
(detach-script-info-if-not-root auto-import-provider-project)
Returns: any
**Returns:** `any`
(directories auto-import-provider-project path)
Parameters:
path
: string
Returns: string[]
**Parameters:** - `path`: `string` **Returns:** `string[]`
(directory-exists? auto-import-provider-project path)
Parameters:
path
: string
Returns: boolean
**Parameters:** - `path`: `string` **Returns:** `boolean`
(disable-language-service auto-import-provider-project)
(disable-language-service auto-import-provider-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`
(document-registry auto-import-provider-project)
Returns: any
**Returns:** `any`
(emit-file auto-import-provider-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`
(enable-global-plugins auto-import-provider-project options)
Parameters:
options
: CompilerOptions
Returns: void
**Parameters:** - `options`: `CompilerOptions` **Returns:** `void`
(enable-language-service auto-import-provider-project)
Returns: void
**Returns:** `void`
(enable-plugin auto-import-provider-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`
(error auto-import-provider-project s)
Parameters:
s
: string
Returns: void
**Parameters:** - `s`: `string` **Returns:** `void`
(excluded-files auto-import-provider-project)
Returns: readonly NormalizedPath[]
**Returns:** `readonly NormalizedPath[]`
(external-files auto-import-provider-project)
Returns: any
**Returns:** `any`
(file-exists? auto-import-provider-project file)
Parameters:
file
: string
Returns: boolean
**Parameters:** - `file`: `string` **Returns:** `boolean`
(file-names auto-import-provider-project)
(file-names auto-import-provider-project exclude-files-from-external-libraries?)
(file-names auto-import-provider-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[]`
(files-to-string auto-import-provider-project write-project-file-names?)
Parameters:
write-project-file-names?
: boolean
Returns: string
**Parameters:** - `write-project-file-names?`: `boolean` **Returns:** `string`
(generated-files-map auto-import-provider-project)
Returns: any
**Returns:** `any`
(get-cancellation-token auto-import-provider-project)
Returns: HostCancellationToken
**Returns:** `HostCancellationToken`
(get-compiler-options auto-import-provider-project)
Returns: CompilerOptions
**Returns:** `CompilerOptions`
(get-external-files auto-import-provider-project)
(get-external-files auto-import-provider-project update-level)
Parameters:
update-level
: ProgramUpdateLevel | undefined
Returns: SortedReadonlyArray<string>
**Parameters:** - `update-level`: `ProgramUpdateLevel | undefined` **Returns:** `SortedReadonlyArray<string>`
(get-language-service auto-import-provider-project)
Returns: never
**Returns:** `never`
(get-root-files auto-import-provider-project)
Returns: NormalizedPath[]
**Returns:** `NormalizedPath[]`
(global-project-errors auto-import-provider-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[]`
(has-config-file? auto-import-provider-project config-file-path)
Parameters:
config-file-path
: NormalizedPath
Returns: boolean
**Parameters:** - `config-file-path`: `NormalizedPath` **Returns:** `boolean`
(has-roots? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(host-for-auto-import-provider auto-import-provider-project)
Returns: never
**Returns:** `never`
(host-project auto-import-provider-project)
Returns: any
**Returns:** `any`
(initial-load-pending auto-import-provider-project)
Returns: () => boolean
**Returns:** `() => boolean`
(install-package auto-import-provider-project options)
Parameters:
options
: InstallPackageOptions
Returns: Promise<ApplyCodeActionCommandResult>
**Parameters:** - `options`: `InstallPackageOptions` **Returns:** `Promise<ApplyCodeActionCommandResult>`
(js-doc-parsing-mode auto-import-provider-project)
Returns: JSDocParsingMode | undefined
**Returns:** `JSDocParsingMode | undefined`
(js-only-project? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(known-types-package-name? auto-import-provider-project name)
Parameters:
name
: string
Returns: boolean
**Parameters:** - `name`: `string` **Returns:** `boolean`
(language-service auto-import-provider-project)
Returns: LanguageService
**Returns:** `LanguageService`
(language-service-enabled? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(last-reported-file-names auto-import-provider-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`
(last-reported-version auto-import-provider-project)
Last version that was reported.
Returns: any
Last version that was reported. **Returns:** `any`
(log auto-import-provider-project s)
Parameters:
s
: string
Returns: void
**Parameters:** - `s`: `string` **Returns:** `void`
(mark-as-dirty auto-import-provider-project)
Returns: void
**Returns:** `void`
(missing-files-map auto-import-provider-project)
Returns: any
**Returns:** `any`
(new-line auto-import-provider-project)
Returns: string
**Returns:** `string`
(non-ts-project? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(or-create-script-info-and-attach-to-project auto-import-provider-project)
Returns: any
**Returns:** `any`
(orphan? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(program auto-import-provider-project)
Returns: any
**Returns:** `any`
(project-errors auto-import-provider-project)
Returns: Diagnostic[] | undefined
**Returns:** `Diagnostic[] | undefined`
(project-kind auto-import-provider-project)
Returns: ProjectKind
**Returns:** `ProjectKind`
(project-name auto-import-provider-project)
Returns: string
**Returns:** `string`
(project-references auto-import-provider-project)
Returns: readonly ProjectReference[] | undefined
**Returns:** `readonly ProjectReference[] | undefined`
(project-service auto-import-provider-project)
Returns: ProjectService
**Returns:** `ProjectService`
(project-version auto-import-provider-project)
Returns: string
**Returns:** `string`
(read-directory auto-import-provider-project path)
(read-directory auto-import-provider-project path extensions)
(read-directory auto-import-provider-project path extensions exclude)
(read-directory auto-import-provider-project path extensions exclude include)
(read-directory auto-import-provider-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[]`
(read-file auto-import-provider-project file-name)
Parameters:
file-name
: string
Returns: string | undefined
**Parameters:** - `file-name`: `string` **Returns:** `string | undefined`
(realpath auto-import-provider-project)
Returns: ((path: string) => string) | undefined
**Returns:** `((path: string) => string) | undefined`
(refresh-diagnostics auto-import-provider-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`
(register-file-update auto-import-provider-project file-name)
Parameters:
file-name
: string
Returns: void
**Parameters:** - `file-name`: `string` **Returns:** `void`
(remove-existing-typings auto-import-provider-project include)
Parameters:
include
: string[]
Returns: string[]
**Parameters:** - `include`: `string[]` **Returns:** `string[]`
(remove-file auto-import-provider-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`
(remove-local-typings-from-type-acquisition auto-import-provider-project
new-type-acquisition)
Parameters:
new-type-acquisition
: TypeAcquisition
Returns: TypeAcquisition
**Parameters:** - `new-type-acquisition`: `TypeAcquisition` **Returns:** `TypeAcquisition`
(remove-root auto-import-provider-project info)
Parameters:
info
: ScriptInfo
Returns: void
**Parameters:** - `info`: `ScriptInfo` **Returns:** `void`
(root-file-names auto-import-provider-project)
Returns: any
**Returns:** `any`
(root-files auto-import-provider-project)
Returns: any
**Returns:** `any`
(root-files-map auto-import-provider-project)
Returns: any
**Returns:** `any`
(root-script-infos auto-import-provider-project)
Returns: ScriptInfo[]
**Returns:** `ScriptInfo[]`
(root? auto-import-provider-project info)
Parameters:
info
: ScriptInfo
Returns: boolean
**Parameters:** - `info`: `ScriptInfo` **Returns:** `boolean`
(script-file-names auto-import-provider-project)
Returns: string[]
**Returns:** `string[]`
(script-info auto-import-provider-project unchecked-file-name)
Parameters:
unchecked-file-name
: string
Returns: ScriptInfo | undefined
**Parameters:** - `unchecked-file-name`: `string` **Returns:** `ScriptInfo | undefined`
(script-info-for-normalized-path auto-import-provider-project file-name)
Parameters:
file-name
: NormalizedPath
Returns: ScriptInfo | undefined
**Parameters:** - `file-name`: `NormalizedPath` **Returns:** `ScriptInfo | undefined`
(script-infos auto-import-provider-project)
Returns: ScriptInfo[]
**Returns:** `ScriptInfo[]`
(script-kind auto-import-provider-project file-name)
Parameters:
file-name
: string
Returns: ScriptKind
**Parameters:** - `file-name`: `string` **Returns:** `ScriptKind`
(script-snapshot auto-import-provider-project filename)
Parameters:
filename
: string
Returns: IScriptSnapshot | undefined
**Parameters:** - `filename`: `string` **Returns:** `IScriptSnapshot | undefined`
(script-version auto-import-provider-project filename)
Parameters:
filename
: string
Returns: string
**Parameters:** - `filename`: `string` **Returns:** `string`
(set-add-missing-file-watcher! auto-import-provider-project value)
(set-clear-generated-file-watch! auto-import-provider-project value)
(set-compile-on-save-enabled! auto-import-provider-project value)
(set-compiler-options auto-import-provider-project compiler-options)
Parameters:
compiler-options
: CompilerOptions
Returns: void
**Parameters:** - `compiler-options`: `CompilerOptions` **Returns:** `void`
(set-create-generated-file-watcher! auto-import-provider-project value)
(set-detach-script-info-from-project! auto-import-provider-project value)
(set-detach-script-info-if-not-root! auto-import-provider-project value)
(set-get-or-create-script-info-and-attach-to-project!
auto-import-provider-project
value)
(set-internal-compiler-options-for-emitting-js-files
auto-import-provider-project)
Returns: any
**Returns:** `any`
(set-is-initial-load-pending! auto-import-provider-project value)
(set-is-valid-generated-file-watcher! auto-import-provider-project value)
(set-is-watched-missing-file! auto-import-provider-project value)
(set-language-service-enabled! auto-import-provider-project value)
(set-last-reported-file-names! auto-import-provider-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.
(set-last-reported-version! auto-import-provider-project value)
Last version that was reported.
Last version that was reported.
(set-project-errors auto-import-provider-project)
(set-project-errors auto-import-provider-project project-errors)
Parameters:
project-errors
: Diagnostic[] | undefined
Returns: void
**Parameters:** - `project-errors`: `Diagnostic[] | undefined` **Returns:** `void`
(set-set-internal-compiler-options-for-emitting-js-files!
auto-import-provider-project
value)
(set-type-acquisition auto-import-provider-project)
(set-type-acquisition auto-import-provider-project new-type-acquisition)
Parameters:
new-type-acquisition
: TypeAcquisition | undefined
Returns: void
**Parameters:** - `new-type-acquisition`: `TypeAcquisition | undefined` **Returns:** `void`
(set-updated-file-names! auto-import-provider-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.
(source-file auto-import-provider-project path)
Parameters:
path
: Path
Returns: SourceFile | undefined
**Parameters:** - `path`: `Path` **Returns:** `SourceFile | undefined`
(trace auto-import-provider-project)
Returns: ((s: string) => void) | undefined
**Returns:** `((s: string) => void) | undefined`
(type-acquisition auto-import-provider-project)
Returns: TypeAcquisition
**Returns:** `TypeAcquisition`
(update-graph-worker auto-import-provider-project)
Returns: any
**Returns:** `any`
(update-graph? auto-import-provider-project)
Returns: boolean
- : true if set of files in the project stays the same and false - otherwise.
**Returns:** `boolean` - : true if set of files in the project stays the same and false - otherwise.
(updated-file-names auto-import-provider-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`
(use-case-sensitive-file-names? auto-import-provider-project)
Returns: boolean
**Returns:** `boolean`
(valid-generated-file-watcher auto-import-provider-project)
Returns: any
**Returns:** `any`
(watch-options auto-import-provider-project)
Returns: WatchOptions | undefined
**Returns:** `WatchOptions | undefined`
(watched-missing-file auto-import-provider-project)
Returns: any
**Returns:** `any`
(write-file auto-import-provider-project 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