@typescript-deploys/pr-build 5.2.0-pr-54278-2 → 5.2.0-pr-54316-2
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/lib/tsc.js +48 -4792
- package/lib/tsserver.js +2464 -2418
- package/lib/tsserverlibrary.d.ts +9 -24
- package/lib/tsserverlibrary.js +2506 -192
- package/lib/typescript.d.ts +3 -24
- package/lib/typescript.js +95 -140
- package/lib/typingsInstaller.js +7 -12
- package/package.json +2 -2
- package/lib/tsclibrary.d.ts +0 -5824
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -619,6 +619,7 @@ declare namespace ts {
|
|
|
619
619
|
*/
|
|
620
620
|
renameLocation?: Location;
|
|
621
621
|
renameFilename?: string;
|
|
622
|
+
notApplicableReason?: string;
|
|
622
623
|
}
|
|
623
624
|
/**
|
|
624
625
|
* Organize imports by:
|
|
@@ -1829,6 +1830,11 @@ declare namespace ts {
|
|
|
1829
1830
|
* coupled with `replacementSpan` to replace a dotted access with a bracket access.
|
|
1830
1831
|
*/
|
|
1831
1832
|
insertText?: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* A string that should be used when filtering a set of
|
|
1835
|
+
* completion items.
|
|
1836
|
+
*/
|
|
1837
|
+
filterText?: string;
|
|
1832
1838
|
/**
|
|
1833
1839
|
* `insertText` should be interpreted as a snippet if true.
|
|
1834
1840
|
*/
|
|
@@ -7128,15 +7134,9 @@ declare namespace ts {
|
|
|
7128
7134
|
*/
|
|
7129
7135
|
Force = 3
|
|
7130
7136
|
}
|
|
7131
|
-
type PluginConfig = PluginImport | TransformerPluginImport;
|
|
7132
7137
|
interface PluginImport {
|
|
7133
|
-
type?: undefined;
|
|
7134
7138
|
name: string;
|
|
7135
7139
|
}
|
|
7136
|
-
interface TransformerPluginImport {
|
|
7137
|
-
type: "transformer";
|
|
7138
|
-
path: string;
|
|
7139
|
-
}
|
|
7140
7140
|
interface ProjectReference {
|
|
7141
7141
|
/** A normalized path on disk */
|
|
7142
7142
|
path: string;
|
|
@@ -7167,7 +7167,7 @@ declare namespace ts {
|
|
|
7167
7167
|
DynamicPriority = 2,
|
|
7168
7168
|
FixedChunkSize = 3
|
|
7169
7169
|
}
|
|
7170
|
-
type CompilerOptionsValue = string | number | boolean | (string | number)[] | string[] | MapLike<string[]> |
|
|
7170
|
+
type CompilerOptionsValue = string | number | boolean | (string | number)[] | string[] | MapLike<string[]> | PluginImport[] | ProjectReference[] | null | undefined;
|
|
7171
7171
|
interface CompilerOptions {
|
|
7172
7172
|
allowImportingTsExtensions?: boolean;
|
|
7173
7173
|
allowJs?: boolean;
|
|
@@ -7272,8 +7272,6 @@ declare namespace ts {
|
|
|
7272
7272
|
verbatimModuleSyntax?: boolean;
|
|
7273
7273
|
esModuleInterop?: boolean;
|
|
7274
7274
|
useDefineForClassFields?: boolean;
|
|
7275
|
-
customTransformers?: string[];
|
|
7276
|
-
allowPlugins?: boolean;
|
|
7277
7275
|
[option: string]: CompilerOptionsValue | TsConfigSourceFile | undefined;
|
|
7278
7276
|
}
|
|
7279
7277
|
interface WatchOptions {
|
|
@@ -8406,20 +8404,6 @@ declare namespace ts {
|
|
|
8406
8404
|
negative: boolean;
|
|
8407
8405
|
base10Value: string;
|
|
8408
8406
|
}
|
|
8409
|
-
type CustomTransformersModuleFactory = (mod: {
|
|
8410
|
-
typescript: typeof ts;
|
|
8411
|
-
}) => CustomTransformersModule;
|
|
8412
|
-
interface CustomTransformersModuleWithName {
|
|
8413
|
-
name: string;
|
|
8414
|
-
module: CustomTransformersModule;
|
|
8415
|
-
}
|
|
8416
|
-
interface CustomTransformersModule {
|
|
8417
|
-
create(createInfo: CustomTransformersCreateInfo): CustomTransformers;
|
|
8418
|
-
}
|
|
8419
|
-
interface CustomTransformersCreateInfo {
|
|
8420
|
-
program: Program;
|
|
8421
|
-
config: any;
|
|
8422
|
-
}
|
|
8423
8407
|
enum FileWatcherEventKind {
|
|
8424
8408
|
Created = 0,
|
|
8425
8409
|
Changed = 1,
|
|
@@ -9871,7 +9855,6 @@ declare namespace ts {
|
|
|
9871
9855
|
sourceMap?: boolean;
|
|
9872
9856
|
inlineSourceMap?: boolean;
|
|
9873
9857
|
traceResolution?: boolean;
|
|
9874
|
-
allowPlugins?: boolean;
|
|
9875
9858
|
[option: string]: CompilerOptionsValue | undefined;
|
|
9876
9859
|
}
|
|
9877
9860
|
type ReportEmitErrorSummary = (errorCount: number, filesInError: (ReportFileInError | undefined)[]) => void;
|
|
@@ -10503,6 +10486,7 @@ declare namespace ts {
|
|
|
10503
10486
|
renameFilename?: string;
|
|
10504
10487
|
renameLocation?: number;
|
|
10505
10488
|
commands?: CodeActionCommand[];
|
|
10489
|
+
notApplicableReason?: string;
|
|
10506
10490
|
}
|
|
10507
10491
|
type RefactorTriggerReason = "implicit" | "invoked";
|
|
10508
10492
|
interface TextInsertion {
|
|
@@ -10824,6 +10808,7 @@ declare namespace ts {
|
|
|
10824
10808
|
kindModifiers?: string;
|
|
10825
10809
|
sortText: string;
|
|
10826
10810
|
insertText?: string;
|
|
10811
|
+
filterText?: string;
|
|
10827
10812
|
isSnippet?: true;
|
|
10828
10813
|
/**
|
|
10829
10814
|
* An optional span that indicates the text to be replaced by this completion item.
|