@pinuts/bsr-uikit-relaunch 0.2.39 → 0.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/withFieldGroup.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +2 -2
- package/dist/items/Title/Title.d.ts +12 -0
- package/dist/items/Title/Title.d.ts.map +1 -0
- package/dist/items/Title/Title.js +42 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +4 -4
- package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +2 -2
- package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +4 -3
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/node_modules/@babel/runtime/helpers/superPropGet.js +4 -4
- package/node_modules/@babel/runtime/helpers/superPropSet.js +2 -2
- package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
- package/node_modules/@babel/runtime/helpers/wrapRegExp.js +4 -3
- package/node_modules/@babel/runtime/package.json +10 -1
- package/node_modules/@types/hoist-non-react-statics/README.md +13 -13
- package/node_modules/@types/hoist-non-react-statics/index.d.ts +12 -12
- package/node_modules/@types/hoist-non-react-statics/package.json +4 -3
- package/node_modules/@types/react/README.md +3 -3
- package/node_modules/@types/react/canary.d.ts +0 -122
- package/node_modules/@types/react/compiler-runtime.d.ts +4 -0
- package/node_modules/@types/react/experimental.d.ts +118 -4
- package/node_modules/@types/react/global.d.ts +4 -0
- package/node_modules/@types/react/index.d.ts +468 -770
- package/node_modules/@types/react/package.json +9 -9
- package/node_modules/@types/react/ts5.0/canary.d.ts +0 -122
- package/node_modules/@types/react/ts5.0/experimental.d.ts +118 -4
- package/node_modules/@types/react/ts5.0/global.d.ts +4 -0
- package/node_modules/@types/react/ts5.0/index.d.ts +464 -766
- package/node_modules/@types/react/ts5.0/v18/global.d.ts +160 -0
- package/node_modules/@types/react/ts5.0/v18/index.d.ts +4543 -0
- package/node_modules/@types/react/ts5.0/v18/jsx-dev-runtime.d.ts +45 -0
- package/node_modules/@types/react/ts5.0/v18/jsx-runtime.d.ts +36 -0
- package/node_modules/@types/react/ts5.0/v18/ts5.0/global.d.ts +160 -0
- package/node_modules/@types/react/ts5.0/v18/ts5.0/index.d.ts +4530 -0
- package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-dev-runtime.d.ts +44 -0
- package/node_modules/@types/react/ts5.0/v18/ts5.0/jsx-runtime.d.ts +35 -0
- package/node_modules/tslib/modules/index.d.ts +1 -0
- package/node_modules/tslib/modules/index.js +2 -0
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +7 -0
- package/node_modules/tslib/tslib.es6.js +24 -1
- package/node_modules/tslib/tslib.es6.mjs +24 -1
- package/node_modules/tslib/tslib.js +56 -1
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/README.md +1 -1
- package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/tsc.js → typescript/lib/_tsc.js} +4349 -2310
- package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/tsserver.js → typescript/lib/_tsserver.js} +44 -8
- package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/typingsInstaller.js → typescript/lib/_typingsInstaller.js} +2 -16
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/cs/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/de/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/es/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/fr/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/it/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ja/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ko/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.decorators.d.ts +13 -15
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.d.ts +1884 -361
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.iterable.d.ts +9 -7
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.core.d.ts +9 -9
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.iterable.d.ts +114 -36
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.symbol.wellknown.d.ts +10 -10
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.array.include.d.ts +9 -9
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.intl.d.ts +1 -1
- package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.d.ts +3 -2
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.sharedmemory.d.ts +14 -14
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.typedarrays.d.ts +9 -9
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.bigint.d.ts +92 -54
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.intl.d.ts +36 -36
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.sharedmemory.d.ts +13 -11
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.string.d.ts +2 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.intl.d.ts +17 -17
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.weakref.d.ts +2 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.array.d.ts +11 -11
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.d.ts +1 -2
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.error.d.ts +2 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.intl.d.ts +9 -9
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.array.d.ts +79 -79
- package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
- package/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
- package/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts → typescript/lib/lib.es2024.sharedmemory.d.ts} +29 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es5.d.ts +312 -303
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.array.d.ts +1 -1
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.collection.d.ts +1 -11
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.d.ts +3 -5
- package/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.iterator.d.ts +1 -1
- package/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.d.ts +571 -87
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.iterable.d.ts +6 -7
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/pl/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/pt-br/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/ru/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tr/diagnosticMessages.generated.json +30 -12
- package/node_modules/typescript/lib/tsc.js +8 -0
- package/node_modules/typescript/lib/tsserver.js +8 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typesMap.json +497 -497
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typescript.d.ts +95 -24
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typescript.js +6556 -3509
- package/node_modules/typescript/lib/typingsInstaller.js +8 -0
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/zh-cn/diagnosticMessages.generated.json +31 -13
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/zh-tw/diagnosticMessages.generated.json +30 -12
- package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/package.json +27 -28
- package/package.json +3 -3
- package/node_modules/@pinuts/form-builder/node_modules/typescript/lib/cancellationToken.js +0 -90
- package/node_modules/@types/prop-types/LICENSE +0 -21
- package/node_modules/@types/prop-types/README.md +0 -15
- package/node_modules/@types/prop-types/index.d.ts +0 -114
- package/node_modules/@types/prop-types/package.json +0 -35
- /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/LICENSE +0 -0
- /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/README.md +0 -0
- /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/package.json +0 -0
- /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/path.js +0 -0
- /package/node_modules/{regenerator-runtime → @babel/runtime/node_modules/regenerator-runtime}/runtime.js +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/LICENSE.txt +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/SECURITY.md +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/ThirdPartyNoticeText.txt +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/bin/tsc +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/bin/tsserver +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.decorators.legacy.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.dom.asynciterable.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.collection.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.generator.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.promise.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.proxy.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.reflect.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2015.symbol.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2016.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.date.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.intl.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.object.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2017.string.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.asyncgenerator.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.asynciterable.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.intl.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.promise.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2018.regexp.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.array.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.intl.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.object.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.string.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2019.symbol.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.date.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.number.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.promise.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2020.symbol.wellknown.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.promise.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2021.string.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.object.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.regexp.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2022.string.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.collection.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es2023.intl.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.object.d.ts → typescript/lib/lib.es2024.object.d.ts} +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.promise.d.ts → typescript/lib/lib.es2024.promise.d.ts} +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.regexp.d.ts → typescript/lib/lib.es2024.regexp.d.ts} +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript/lib/lib.esnext.string.d.ts → typescript/lib/lib.es2024.string.d.ts} +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.es6.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.decorators.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.disposable.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.full.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.esnext.intl.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.scripthost.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.asynciterable.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/lib.webworker.importscripts.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tsserverlibrary.d.ts +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/tsserverlibrary.js +0 -0
- /package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/watchGuard.js +0 -0
package/node_modules/{@pinuts/form-builder/node_modules/typescript → typescript}/lib/typescript.d.ts
RENAMED
|
@@ -107,6 +107,7 @@ declare namespace ts {
|
|
|
107
107
|
GetApplicableRefactors = "getApplicableRefactors",
|
|
108
108
|
GetEditsForRefactor = "getEditsForRefactor",
|
|
109
109
|
GetMoveToRefactoringFileSuggestions = "getMoveToRefactoringFileSuggestions",
|
|
110
|
+
PreparePasteEdits = "preparePasteEdits",
|
|
110
111
|
GetPasteEdits = "getPasteEdits",
|
|
111
112
|
OrganizeImports = "organizeImports",
|
|
112
113
|
GetEditsForFileRename = "getEditsForFileRename",
|
|
@@ -363,6 +364,10 @@ declare namespace ts {
|
|
|
363
364
|
* Indicate if the file name list of the project is needed
|
|
364
365
|
*/
|
|
365
366
|
needFileNameList: boolean;
|
|
367
|
+
/**
|
|
368
|
+
* if true returns details about default configured project calculation
|
|
369
|
+
*/
|
|
370
|
+
needDefaultConfiguredProjectInfo?: boolean;
|
|
366
371
|
}
|
|
367
372
|
/**
|
|
368
373
|
* A request to get the project information of the current file.
|
|
@@ -386,6 +391,17 @@ declare namespace ts {
|
|
|
386
391
|
*/
|
|
387
392
|
projectFileName: string;
|
|
388
393
|
}
|
|
394
|
+
/**
|
|
395
|
+
* Details about the default project for the file if tsconfig file is found
|
|
396
|
+
*/
|
|
397
|
+
export interface DefaultConfiguredProjectInfo {
|
|
398
|
+
/** List of config files looked and did not match because file was not part of root file names */
|
|
399
|
+
notMatchedByConfig?: readonly string[];
|
|
400
|
+
/** List of projects which were loaded but file was not part of the project or is file from referenced project */
|
|
401
|
+
notInProject?: readonly string[];
|
|
402
|
+
/** Configured project used as default */
|
|
403
|
+
defaultProject?: string;
|
|
404
|
+
}
|
|
389
405
|
/**
|
|
390
406
|
* Response message body for "projectInfo" request
|
|
391
407
|
*/
|
|
@@ -403,6 +419,10 @@ declare namespace ts {
|
|
|
403
419
|
* Indicates if the project has a active language service instance
|
|
404
420
|
*/
|
|
405
421
|
languageServiceDisabled?: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Information about default project
|
|
424
|
+
*/
|
|
425
|
+
configuredProjectInfo?: DefaultConfiguredProjectInfo;
|
|
406
426
|
}
|
|
407
427
|
/**
|
|
408
428
|
* Represents diagnostic info that includes location of diagnostic in two forms
|
|
@@ -495,6 +515,19 @@ declare namespace ts {
|
|
|
495
515
|
files: string[];
|
|
496
516
|
};
|
|
497
517
|
}
|
|
518
|
+
/**
|
|
519
|
+
* Request to check if `pasteEdits` should be provided for a given location post copying text from that location.
|
|
520
|
+
*/
|
|
521
|
+
export interface PreparePasteEditsRequest extends FileRequest {
|
|
522
|
+
command: CommandTypes.PreparePasteEdits;
|
|
523
|
+
arguments: PreparePasteEditsRequestArgs;
|
|
524
|
+
}
|
|
525
|
+
export interface PreparePasteEditsRequestArgs extends FileRequestArgs {
|
|
526
|
+
copiedTextSpan: TextSpan[];
|
|
527
|
+
}
|
|
528
|
+
export interface PreparePasteEditsResponse extends Response {
|
|
529
|
+
body: boolean;
|
|
530
|
+
}
|
|
498
531
|
/**
|
|
499
532
|
* Request refactorings at a given position post pasting text from some other location.
|
|
500
533
|
*/
|
|
@@ -2475,6 +2508,7 @@ declare namespace ts {
|
|
|
2475
2508
|
ES2022 = "es2022",
|
|
2476
2509
|
ESNext = "esnext",
|
|
2477
2510
|
Node16 = "node16",
|
|
2511
|
+
Node18 = "node18",
|
|
2478
2512
|
NodeNext = "nodenext",
|
|
2479
2513
|
Preserve = "preserve",
|
|
2480
2514
|
}
|
|
@@ -2507,6 +2541,7 @@ declare namespace ts {
|
|
|
2507
2541
|
ES2021 = "es2021",
|
|
2508
2542
|
ES2022 = "es2022",
|
|
2509
2543
|
ES2023 = "es2023",
|
|
2544
|
+
ES2024 = "es2024",
|
|
2510
2545
|
ESNext = "esnext",
|
|
2511
2546
|
JSON = "json",
|
|
2512
2547
|
Latest = "esnext",
|
|
@@ -2808,7 +2843,6 @@ declare namespace ts {
|
|
|
2808
2843
|
abstract class Project implements LanguageServiceHost, ModuleResolutionHost {
|
|
2809
2844
|
readonly projectKind: ProjectKind;
|
|
2810
2845
|
readonly projectService: ProjectService;
|
|
2811
|
-
private documentRegistry;
|
|
2812
2846
|
private compilerOptions;
|
|
2813
2847
|
compileOnSaveEnabled: boolean;
|
|
2814
2848
|
protected watchOptions: WatchOptions | undefined;
|
|
@@ -2828,7 +2862,6 @@ declare namespace ts {
|
|
|
2828
2862
|
private lastReportedFileNames;
|
|
2829
2863
|
private lastReportedVersion;
|
|
2830
2864
|
protected projectErrors: Diagnostic[] | undefined;
|
|
2831
|
-
protected isInitialLoadPending: () => boolean;
|
|
2832
2865
|
private typingsCache;
|
|
2833
2866
|
private typingWatchers;
|
|
2834
2867
|
private readonly cancellationToken;
|
|
@@ -2842,14 +2875,14 @@ declare namespace ts {
|
|
|
2842
2875
|
readonly jsDocParsingMode: JSDocParsingMode | undefined;
|
|
2843
2876
|
isKnownTypesPackageName(name: string): boolean;
|
|
2844
2877
|
installPackage(options: InstallPackageOptions): Promise<ApplyCodeActionCommandResult>;
|
|
2845
|
-
getCompilationSettings():
|
|
2846
|
-
getCompilerOptions():
|
|
2878
|
+
getCompilationSettings(): CompilerOptions;
|
|
2879
|
+
getCompilerOptions(): CompilerOptions;
|
|
2847
2880
|
getNewLine(): string;
|
|
2848
2881
|
getProjectVersion(): string;
|
|
2849
2882
|
getProjectReferences(): readonly ProjectReference[] | undefined;
|
|
2850
2883
|
getScriptFileNames(): string[];
|
|
2851
2884
|
private getOrCreateScriptInfoAndAttachToProject;
|
|
2852
|
-
getScriptKind(fileName: string):
|
|
2885
|
+
getScriptKind(fileName: string): ScriptKind;
|
|
2853
2886
|
getScriptVersion(filename: string): string;
|
|
2854
2887
|
getScriptSnapshot(filename: string): IScriptSnapshot | undefined;
|
|
2855
2888
|
getCancellationToken(): HostCancellationToken;
|
|
@@ -2885,16 +2918,16 @@ declare namespace ts {
|
|
|
2885
2918
|
getProjectName(): string;
|
|
2886
2919
|
protected removeLocalTypingsFromTypeAcquisition(newTypeAcquisition: TypeAcquisition): TypeAcquisition;
|
|
2887
2920
|
getExternalFiles(updateLevel?: ProgramUpdateLevel): SortedReadonlyArray<string>;
|
|
2888
|
-
getSourceFile(path: Path):
|
|
2921
|
+
getSourceFile(path: Path): SourceFile | undefined;
|
|
2889
2922
|
close(): void;
|
|
2890
2923
|
private detachScriptInfoIfNotRoot;
|
|
2891
2924
|
isClosed(): boolean;
|
|
2892
2925
|
hasRoots(): boolean;
|
|
2893
2926
|
getRootFiles(): NormalizedPath[];
|
|
2894
|
-
getRootScriptInfos():
|
|
2927
|
+
getRootScriptInfos(): ScriptInfo[];
|
|
2895
2928
|
getScriptInfos(): ScriptInfo[];
|
|
2896
2929
|
getExcludedFiles(): readonly NormalizedPath[];
|
|
2897
|
-
getFileNames(excludeFilesFromExternalLibraries?: boolean, excludeConfigFiles?: boolean):
|
|
2930
|
+
getFileNames(excludeFilesFromExternalLibraries?: boolean, excludeConfigFiles?: boolean): NormalizedPath[];
|
|
2898
2931
|
hasConfigFile(configFilePath: NormalizedPath): boolean;
|
|
2899
2932
|
containsScriptInfo(info: ScriptInfo): boolean;
|
|
2900
2933
|
containsFile(filename: NormalizedPath, requireOpen?: boolean): boolean;
|
|
@@ -2919,19 +2952,18 @@ declare namespace ts {
|
|
|
2919
2952
|
private isValidGeneratedFileWatcher;
|
|
2920
2953
|
private clearGeneratedFileWatch;
|
|
2921
2954
|
getScriptInfoForNormalizedPath(fileName: NormalizedPath): ScriptInfo | undefined;
|
|
2922
|
-
getScriptInfo(uncheckedFileName: string):
|
|
2955
|
+
getScriptInfo(uncheckedFileName: string): ScriptInfo | undefined;
|
|
2923
2956
|
filesToString(writeProjectFileNames: boolean): string;
|
|
2924
2957
|
private filesToStringWorker;
|
|
2925
2958
|
setCompilerOptions(compilerOptions: CompilerOptions): void;
|
|
2926
2959
|
setTypeAcquisition(newTypeAcquisition: TypeAcquisition | undefined): void;
|
|
2927
|
-
getTypeAcquisition():
|
|
2960
|
+
getTypeAcquisition(): TypeAcquisition;
|
|
2928
2961
|
protected removeRoot(info: ScriptInfo): void;
|
|
2929
2962
|
protected enableGlobalPlugins(options: CompilerOptions): void;
|
|
2930
2963
|
protected enablePlugin(pluginConfigEntry: PluginImport, searchPaths: string[]): void;
|
|
2931
2964
|
/** Starts a new check for diagnostics. Call this if some file has updated that would cause diagnostics to be changed. */
|
|
2932
2965
|
refreshDiagnostics(): void;
|
|
2933
2966
|
private isDefaultProjectForOpenFiles;
|
|
2934
|
-
private getCompilerOptionsForNoDtsResolutionProject;
|
|
2935
2967
|
}
|
|
2936
2968
|
/**
|
|
2937
2969
|
* If a file is opened and no tsconfig (or jsconfig) is found,
|
|
@@ -2958,7 +2990,7 @@ declare namespace ts {
|
|
|
2958
2990
|
getScriptFileNames(): string[];
|
|
2959
2991
|
getLanguageService(): never;
|
|
2960
2992
|
getHostForAutoImportProvider(): never;
|
|
2961
|
-
getProjectReferences(): readonly
|
|
2993
|
+
getProjectReferences(): readonly ProjectReference[] | undefined;
|
|
2962
2994
|
}
|
|
2963
2995
|
/**
|
|
2964
2996
|
* If a file is opened, the server will look for a tsconfig (or jsconfig)
|
|
@@ -2975,7 +3007,7 @@ declare namespace ts {
|
|
|
2975
3007
|
* @returns: true if set of files in the project stays the same and false - otherwise.
|
|
2976
3008
|
*/
|
|
2977
3009
|
updateGraph(): boolean;
|
|
2978
|
-
getConfigFilePath():
|
|
3010
|
+
getConfigFilePath(): NormalizedPath;
|
|
2979
3011
|
getProjectReferences(): readonly ProjectReference[] | undefined;
|
|
2980
3012
|
updateReferences(refs: readonly ProjectReference[] | undefined): void;
|
|
2981
3013
|
/**
|
|
@@ -2999,14 +3031,14 @@ declare namespace ts {
|
|
|
2999
3031
|
compileOnSaveEnabled: boolean;
|
|
3000
3032
|
excludedFiles: readonly NormalizedPath[];
|
|
3001
3033
|
updateGraph(): boolean;
|
|
3002
|
-
getExcludedFiles(): readonly
|
|
3034
|
+
getExcludedFiles(): readonly NormalizedPath[];
|
|
3003
3035
|
}
|
|
3004
3036
|
function convertFormatOptions(protocolOptions: protocol.FormatCodeSettings): FormatCodeSettings;
|
|
3005
3037
|
function convertCompilerOptions(protocolOptions: protocol.ExternalProjectCompilerOptions): CompilerOptions & protocol.CompileOnSaveMixin;
|
|
3006
3038
|
function convertWatchOptions(protocolOptions: protocol.ExternalProjectCompilerOptions, currentDirectory?: string): WatchOptionsAndErrors | undefined;
|
|
3007
3039
|
function convertTypeAcquisition(protocolOptions: protocol.InferredProjectCompilerOptions): TypeAcquisition | undefined;
|
|
3008
3040
|
function tryConvertScriptKindName(scriptKindName: protocol.ScriptKindName | ScriptKind): ScriptKind;
|
|
3009
|
-
function convertScriptKindName(scriptKindName: protocol.ScriptKindName): ScriptKind
|
|
3041
|
+
function convertScriptKindName(scriptKindName: protocol.ScriptKindName): ScriptKind;
|
|
3010
3042
|
const maxProgramSizeForNonTsFiles: number;
|
|
3011
3043
|
const ProjectsUpdatedInBackgroundEvent = "projectsUpdatedInBackground";
|
|
3012
3044
|
interface ProjectsUpdatedInBackgroundEvent {
|
|
@@ -3277,6 +3309,7 @@ declare namespace ts {
|
|
|
3277
3309
|
private deleteScriptInfo;
|
|
3278
3310
|
private configFileExists;
|
|
3279
3311
|
private createConfigFileWatcherForParsedConfig;
|
|
3312
|
+
private ensureConfigFileWatcherForProject;
|
|
3280
3313
|
private forEachConfigFileLocation;
|
|
3281
3314
|
private getConfigFileNameForFileFromCache;
|
|
3282
3315
|
private setConfigFileNameForFileInCache;
|
|
@@ -3290,6 +3323,7 @@ declare namespace ts {
|
|
|
3290
3323
|
private updateNonInferredProjectFiles;
|
|
3291
3324
|
private updateRootAndOptionsOfNonInferredProject;
|
|
3292
3325
|
private reloadFileNamesOfParsedConfig;
|
|
3326
|
+
private setProjectForReload;
|
|
3293
3327
|
private clearSemanticCache;
|
|
3294
3328
|
private getOrCreateInferredProjectForProjectRootPathIfEnabled;
|
|
3295
3329
|
private getOrCreateSingleInferredProjectIfEnabled;
|
|
@@ -3336,6 +3370,8 @@ declare namespace ts {
|
|
|
3336
3370
|
private getOrCreateOpenScriptInfo;
|
|
3337
3371
|
private assignProjectToOpenedScriptInfo;
|
|
3338
3372
|
private tryFindDefaultConfiguredProjectForOpenScriptInfo;
|
|
3373
|
+
private isMatchedByConfig;
|
|
3374
|
+
private tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo;
|
|
3339
3375
|
private tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo;
|
|
3340
3376
|
private ensureProjectChildren;
|
|
3341
3377
|
private cleanupConfiguredProjects;
|
|
@@ -3480,9 +3516,11 @@ declare namespace ts {
|
|
|
3480
3516
|
private getDocumentHighlights;
|
|
3481
3517
|
private provideInlayHints;
|
|
3482
3518
|
private mapCode;
|
|
3519
|
+
private getCopilotRelatedInfo;
|
|
3483
3520
|
private setCompilerOptionsForInferredProjects;
|
|
3484
3521
|
private getProjectInfo;
|
|
3485
3522
|
private getProjectInfoWorker;
|
|
3523
|
+
private getDefaultConfiguredProjectInfo;
|
|
3486
3524
|
private getRenameInfo;
|
|
3487
3525
|
private getProjects;
|
|
3488
3526
|
private getDefaultProject;
|
|
@@ -3535,6 +3573,7 @@ declare namespace ts {
|
|
|
3535
3573
|
private getApplicableRefactors;
|
|
3536
3574
|
private getEditsForRefactor;
|
|
3537
3575
|
private getMoveToRefactoringFileSuggestions;
|
|
3576
|
+
private preparePasteEdits;
|
|
3538
3577
|
private getPasteEdits;
|
|
3539
3578
|
private organizeImports;
|
|
3540
3579
|
private getEditsForFileRename;
|
|
@@ -3595,7 +3634,7 @@ declare namespace ts {
|
|
|
3595
3634
|
readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[];
|
|
3596
3635
|
}
|
|
3597
3636
|
}
|
|
3598
|
-
const versionMajorMinor = "5.
|
|
3637
|
+
const versionMajorMinor = "5.8";
|
|
3599
3638
|
/** The version of the TypeScript compiler release */
|
|
3600
3639
|
const version: string;
|
|
3601
3640
|
/**
|
|
@@ -3983,10 +4022,11 @@ declare namespace ts {
|
|
|
3983
4022
|
JSDocImportTag = 351,
|
|
3984
4023
|
SyntaxList = 352,
|
|
3985
4024
|
NotEmittedStatement = 353,
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
4025
|
+
NotEmittedTypeElement = 354,
|
|
4026
|
+
PartiallyEmittedExpression = 355,
|
|
4027
|
+
CommaListExpression = 356,
|
|
4028
|
+
SyntheticReferenceExpression = 357,
|
|
4029
|
+
Count = 358,
|
|
3990
4030
|
FirstAssignment = 64,
|
|
3991
4031
|
LastAssignment = 79,
|
|
3992
4032
|
FirstCompoundAssignment = 65,
|
|
@@ -5098,7 +5138,7 @@ declare namespace ts {
|
|
|
5098
5138
|
interface InstanceofExpression extends BinaryExpression {
|
|
5099
5139
|
readonly operatorToken: Token<SyntaxKind.InstanceOfKeyword>;
|
|
5100
5140
|
}
|
|
5101
|
-
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator |
|
|
5141
|
+
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator | JsxCallLike | InstanceofExpression;
|
|
5102
5142
|
interface AsExpression extends Expression {
|
|
5103
5143
|
readonly kind: SyntaxKind.AsExpression;
|
|
5104
5144
|
readonly expression: Expression;
|
|
@@ -5134,6 +5174,7 @@ declare namespace ts {
|
|
|
5134
5174
|
readonly closingElement: JsxClosingElement;
|
|
5135
5175
|
}
|
|
5136
5176
|
type JsxOpeningLikeElement = JsxSelfClosingElement | JsxOpeningElement;
|
|
5177
|
+
type JsxCallLike = JsxOpeningLikeElement | JsxOpeningFragment;
|
|
5137
5178
|
type JsxAttributeLike = JsxAttribute | JsxSpreadAttribute;
|
|
5138
5179
|
type JsxAttributeName = Identifier | JsxNamespacedName;
|
|
5139
5180
|
type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName;
|
|
@@ -5212,6 +5253,9 @@ declare namespace ts {
|
|
|
5212
5253
|
interface NotEmittedStatement extends Statement {
|
|
5213
5254
|
readonly kind: SyntaxKind.NotEmittedStatement;
|
|
5214
5255
|
}
|
|
5256
|
+
interface NotEmittedTypeElement extends TypeElement {
|
|
5257
|
+
readonly kind: SyntaxKind.NotEmittedTypeElement;
|
|
5258
|
+
}
|
|
5215
5259
|
/**
|
|
5216
5260
|
* A list of comma-separated expressions. This node is only created by transformations.
|
|
5217
5261
|
*/
|
|
@@ -6115,7 +6159,7 @@ declare namespace ts {
|
|
|
6115
6159
|
getPrivateIdentifierPropertyOfType(leftType: Type, name: string, location: Node): Symbol | undefined;
|
|
6116
6160
|
getIndexInfoOfType(type: Type, kind: IndexKind): IndexInfo | undefined;
|
|
6117
6161
|
getIndexInfosOfType(type: Type): readonly IndexInfo[];
|
|
6118
|
-
getIndexInfosOfIndexSymbol: (indexSymbol: Symbol) => IndexInfo[];
|
|
6162
|
+
getIndexInfosOfIndexSymbol: (indexSymbol: Symbol, siblingSymbols?: Symbol[] | undefined) => IndexInfo[];
|
|
6119
6163
|
getSignaturesOfType(type: Type, kind: SignatureKind): readonly Signature[];
|
|
6120
6164
|
getIndexTypeOfType(type: Type, kind: IndexKind): Type | undefined;
|
|
6121
6165
|
getBaseTypes(type: InterfaceType): BaseType[];
|
|
@@ -6236,6 +6280,7 @@ declare namespace ts {
|
|
|
6236
6280
|
getBigIntType(): Type;
|
|
6237
6281
|
getBigIntLiteralType(value: PseudoBigInt): BigIntLiteralType;
|
|
6238
6282
|
getBooleanType(): Type;
|
|
6283
|
+
getUnknownType(): Type;
|
|
6239
6284
|
getFalseType(): Type;
|
|
6240
6285
|
getTrueType(): Type;
|
|
6241
6286
|
getVoidType(): Type;
|
|
@@ -6295,6 +6340,7 @@ declare namespace ts {
|
|
|
6295
6340
|
* and the operation is cancelled, then it should be discarded, otherwise it is safe to keep.
|
|
6296
6341
|
*/
|
|
6297
6342
|
runWithCancellationToken<T>(token: CancellationToken, cb: (checker: TypeChecker) => T): T;
|
|
6343
|
+
getTypeArgumentsForResolvedSignature(signature: Signature): readonly Type[] | undefined;
|
|
6298
6344
|
}
|
|
6299
6345
|
enum NodeBuilderFlags {
|
|
6300
6346
|
None = 0,
|
|
@@ -6798,11 +6844,15 @@ declare namespace ts {
|
|
|
6798
6844
|
String = 0,
|
|
6799
6845
|
Number = 1,
|
|
6800
6846
|
}
|
|
6847
|
+
type ElementWithComputedPropertyName = (ClassElement | ObjectLiteralElement) & {
|
|
6848
|
+
name: ComputedPropertyName;
|
|
6849
|
+
};
|
|
6801
6850
|
interface IndexInfo {
|
|
6802
6851
|
keyType: Type;
|
|
6803
6852
|
type: Type;
|
|
6804
6853
|
isReadonly: boolean;
|
|
6805
6854
|
declaration?: IndexSignatureDeclaration;
|
|
6855
|
+
components?: ElementWithComputedPropertyName[];
|
|
6806
6856
|
}
|
|
6807
6857
|
enum InferencePriority {
|
|
6808
6858
|
None = 0,
|
|
@@ -6973,6 +7023,7 @@ declare namespace ts {
|
|
|
6973
7023
|
/** @deprecated */
|
|
6974
7024
|
keyofStringsOnly?: boolean;
|
|
6975
7025
|
lib?: string[];
|
|
7026
|
+
libReplacement?: boolean;
|
|
6976
7027
|
locale?: string;
|
|
6977
7028
|
mapRoot?: string;
|
|
6978
7029
|
maxNodeModuleJsDepth?: number;
|
|
@@ -6982,6 +7033,7 @@ declare namespace ts {
|
|
|
6982
7033
|
moduleDetection?: ModuleDetectionKind;
|
|
6983
7034
|
newLine?: NewLineKind;
|
|
6984
7035
|
noEmit?: boolean;
|
|
7036
|
+
noCheck?: boolean;
|
|
6985
7037
|
noEmitHelpers?: boolean;
|
|
6986
7038
|
noEmitOnError?: boolean;
|
|
6987
7039
|
noErrorTruncation?: boolean;
|
|
@@ -7021,6 +7073,7 @@ declare namespace ts {
|
|
|
7021
7073
|
removeComments?: boolean;
|
|
7022
7074
|
resolvePackageJsonExports?: boolean;
|
|
7023
7075
|
resolvePackageJsonImports?: boolean;
|
|
7076
|
+
rewriteRelativeImportExtensions?: boolean;
|
|
7024
7077
|
rootDir?: string;
|
|
7025
7078
|
rootDirs?: string[];
|
|
7026
7079
|
skipLibCheck?: boolean;
|
|
@@ -7047,6 +7100,7 @@ declare namespace ts {
|
|
|
7047
7100
|
/** Paths used to compute primary types search locations */
|
|
7048
7101
|
typeRoots?: string[];
|
|
7049
7102
|
verbatimModuleSyntax?: boolean;
|
|
7103
|
+
erasableSyntaxOnly?: boolean;
|
|
7050
7104
|
esModuleInterop?: boolean;
|
|
7051
7105
|
useDefineForClassFields?: boolean;
|
|
7052
7106
|
[option: string]: CompilerOptionsValue | TsConfigSourceFile | undefined;
|
|
@@ -7078,6 +7132,7 @@ declare namespace ts {
|
|
|
7078
7132
|
ES2022 = 7,
|
|
7079
7133
|
ESNext = 99,
|
|
7080
7134
|
Node16 = 100,
|
|
7135
|
+
Node18 = 101,
|
|
7081
7136
|
NodeNext = 199,
|
|
7082
7137
|
Preserve = 200,
|
|
7083
7138
|
}
|
|
@@ -7131,6 +7186,7 @@ declare namespace ts {
|
|
|
7131
7186
|
ES2021 = 8,
|
|
7132
7187
|
ES2022 = 9,
|
|
7133
7188
|
ES2023 = 10,
|
|
7189
|
+
ES2024 = 11,
|
|
7134
7190
|
ESNext = 99,
|
|
7135
7191
|
JSON = 100,
|
|
7136
7192
|
Latest = 99,
|
|
@@ -7369,8 +7425,9 @@ declare namespace ts {
|
|
|
7369
7425
|
NonNullAssertions = 4,
|
|
7370
7426
|
PartiallyEmittedExpressions = 8,
|
|
7371
7427
|
ExpressionsWithTypeArguments = 16,
|
|
7372
|
-
|
|
7373
|
-
|
|
7428
|
+
Satisfies = 32,
|
|
7429
|
+
Assertions = 38,
|
|
7430
|
+
All = 63,
|
|
7374
7431
|
ExcludeJSDocTypeAssertion = -2147483648,
|
|
7375
7432
|
}
|
|
7376
7433
|
type ImmediatelyInvokedFunctionExpression = CallExpression & {
|
|
@@ -7813,6 +7870,7 @@ declare namespace ts {
|
|
|
7813
7870
|
createSourceFile(statements: readonly Statement[], endOfFileToken: EndOfFileToken, flags: NodeFlags): SourceFile;
|
|
7814
7871
|
updateSourceFile(node: SourceFile, statements: readonly Statement[], isDeclarationFile?: boolean, referencedFiles?: readonly FileReference[], typeReferences?: readonly FileReference[], hasNoDefaultLib?: boolean, libReferences?: readonly FileReference[]): SourceFile;
|
|
7815
7872
|
createNotEmittedStatement(original: Node): NotEmittedStatement;
|
|
7873
|
+
createNotEmittedTypeElement(): NotEmittedTypeElement;
|
|
7816
7874
|
createPartiallyEmittedExpression(expression: Expression, original?: Node): PartiallyEmittedExpression;
|
|
7817
7875
|
updatePartiallyEmittedExpression(node: PartiallyEmittedExpression, expression: Expression): PartiallyEmittedExpression;
|
|
7818
7876
|
createCommaListExpression(elements: readonly Expression[]): CommaListExpression;
|
|
@@ -8694,6 +8752,7 @@ declare namespace ts {
|
|
|
8694
8752
|
function isTypeOnlyImportDeclaration(node: Node): node is TypeOnlyImportDeclaration;
|
|
8695
8753
|
function isTypeOnlyExportDeclaration(node: Node): node is TypeOnlyExportDeclaration;
|
|
8696
8754
|
function isTypeOnlyImportOrExportDeclaration(node: Node): node is TypeOnlyAliasDeclaration;
|
|
8755
|
+
function isPartOfTypeOnlyImportOrExportDeclaration(node: Node): boolean;
|
|
8697
8756
|
function isStringTextContainingNode(node: Node): node is StringLiteral | TemplateLiteralToken;
|
|
8698
8757
|
function isImportAttributeName(node: Node): node is ImportAttributeName;
|
|
8699
8758
|
function isModifier(node: Node): node is Modifier;
|
|
@@ -8742,6 +8801,7 @@ declare namespace ts {
|
|
|
8742
8801
|
function isJsxAttributeLike(node: Node): node is JsxAttributeLike;
|
|
8743
8802
|
function isStringLiteralOrJsxExpression(node: Node): node is StringLiteral | JsxExpression;
|
|
8744
8803
|
function isJsxOpeningLikeElement(node: Node): node is JsxOpeningLikeElement;
|
|
8804
|
+
function isJsxCallLike(node: Node): node is JsxCallLike;
|
|
8745
8805
|
function isCaseOrDefaultClause(node: Node): node is CaseOrDefaultClause;
|
|
8746
8806
|
/** True if node is of a kind that may contain comment text. */
|
|
8747
8807
|
function isJSDocCommentContainingNode(node: Node): boolean;
|
|
@@ -9120,6 +9180,7 @@ declare namespace ts {
|
|
|
9120
9180
|
jsDocParsingMode?: JSDocParsingMode;
|
|
9121
9181
|
}
|
|
9122
9182
|
function parseCommandLine(commandLine: readonly string[], readFile?: (path: string) => string | undefined): ParsedCommandLine;
|
|
9183
|
+
function parseBuildCommand(commandLine: readonly string[]): ParsedBuildCommand;
|
|
9123
9184
|
/**
|
|
9124
9185
|
* Reads the config file, reports errors if any and exits if the config file cannot be found
|
|
9125
9186
|
*/
|
|
@@ -9174,6 +9235,13 @@ declare namespace ts {
|
|
|
9174
9235
|
options: TypeAcquisition;
|
|
9175
9236
|
errors: Diagnostic[];
|
|
9176
9237
|
};
|
|
9238
|
+
/** Parsed command line for build */
|
|
9239
|
+
interface ParsedBuildCommand {
|
|
9240
|
+
buildOptions: BuildOptions;
|
|
9241
|
+
watchOptions: WatchOptions | undefined;
|
|
9242
|
+
projects: string[];
|
|
9243
|
+
errors: Diagnostic[];
|
|
9244
|
+
}
|
|
9177
9245
|
type DiagnosticReporter = (diagnostic: Diagnostic) => void;
|
|
9178
9246
|
/**
|
|
9179
9247
|
* Reports config file diagnostics
|
|
@@ -9901,6 +9969,8 @@ declare namespace ts {
|
|
|
9901
9969
|
emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): EmitResult | undefined;
|
|
9902
9970
|
}
|
|
9903
9971
|
type InvalidatedProject<T extends BuilderProgram> = UpdateOutputFileStampsProject | BuildInvalidedProject<T>;
|
|
9972
|
+
/** Returns true if commandline is --build and needs to be parsed useing parseBuildCommand */
|
|
9973
|
+
function isBuildCommand(commandLineArgs: readonly string[]): boolean;
|
|
9904
9974
|
function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
|
|
9905
9975
|
/**
|
|
9906
9976
|
* Represents an immutable snapshot of a script at a specified time.Once acquired, the
|
|
@@ -10175,6 +10245,7 @@ declare namespace ts {
|
|
|
10175
10245
|
uncommentSelection(fileName: string, textRange: TextRange): TextChange[];
|
|
10176
10246
|
getSupportedCodeFixes(fileName?: string): readonly string[];
|
|
10177
10247
|
dispose(): void;
|
|
10248
|
+
preparePasteEditsForFile(fileName: string, copiedTextRanges: TextRange[]): boolean;
|
|
10178
10249
|
getPasteEdits(args: PasteEditsArgs, formatOptions: FormatCodeSettings): PasteEdits;
|
|
10179
10250
|
}
|
|
10180
10251
|
interface JsxClosingTagInfo {
|