@vscode/chat-lib 0.1.1-9 → 0.1.2-0
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/src/_internal/extension/completions-core/vscode-node/lib/src/prompt/contextProviderRegistry.d.ts.map +1 -1
- package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/prompt/contextProviderRegistry.js +1 -1
- package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/prompt/contextProviderRegistry.js.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts +0 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +21 -66
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts +6 -3
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +19 -19
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts +2 -3
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js +8 -4
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js.map +1 -1
- package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +616 -0
- package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js +46 -1
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.d.ts +18 -0
- package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.d.ts.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js +156 -0
- package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js.map +1 -0
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +5 -11
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js +67 -223
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabUtils.d.ts +6 -0
- package/dist/src/_internal/extension/xtab/node/xtabUtils.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabUtils.js +20 -0
- package/dist/src/_internal/extension/xtab/node/xtabUtils.js.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +8 -7
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js +11 -10
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
- package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.js +27 -0
- package/dist/src/_internal/platform/configuration/common/defaultsOnlyConfigurationService.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +2 -2
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js +12 -4
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.d.ts +28 -9
- package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts +2 -0
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +13 -0
- package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +4 -4
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js +5 -0
- package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js.map +1 -1
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.d.ts +7 -3
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.d.ts.map +1 -1
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.js +6 -1
- package/dist/src/_internal/platform/languageContextProvider/common/languageContextProviderService.js.map +1 -1
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.d.ts +2 -2
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.d.ts.map +1 -1
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.js +1 -1
- package/dist/src/_internal/platform/languageContextProvider/common/nullLanguageContextProviderService.js.map +1 -1
- package/dist/src/_internal/platform/requestLogger/common/capturingToken.d.ts +31 -0
- package/dist/src/_internal/platform/requestLogger/common/capturingToken.d.ts.map +1 -0
- package/dist/src/_internal/platform/requestLogger/common/capturingToken.js +31 -0
- package/dist/src/_internal/platform/requestLogger/common/capturingToken.js.map +1 -0
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +8 -7
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -1
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -1
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +5 -3
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
- package/dist/src/_internal/util/common/test/shims/chatTypes.js +2 -1
- package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
- package/dist/src/_internal/util/common/tracing.d.ts +21 -2
- package/dist/src/_internal/util/common/tracing.d.ts.map +1 -1
- package/dist/src/_internal/util/common/tracing.js +51 -29
- package/dist/src/_internal/util/common/tracing.js.map +1 -1
- package/dist/src/main.js +1 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/package.json +23 -28
- package/package.json +2 -2
- package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.d.ts +0 -2
- package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.d.ts.map +0 -1
- package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.js +0 -9
- package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.js.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DocumentId } from '../../../platform/inlineEdits/common/dataTypes/documentId';
|
|
2
2
|
import { LanguageContextResponse } from '../../../platform/inlineEdits/common/dataTypes/languageContext';
|
|
3
|
+
import * as xtabPromptOptions from '../../../platform/inlineEdits/common/dataTypes/xtabPromptOptions';
|
|
3
4
|
import { CurrentFileOptions, PromptOptions } from '../../../platform/inlineEdits/common/dataTypes/xtabPromptOptions';
|
|
4
5
|
import { StatelessNextEditDocument } from '../../../platform/inlineEdits/common/statelessNextEditProvider';
|
|
5
6
|
import { IXtabHistoryEntry } from '../../../platform/inlineEdits/common/workspaceEditTracker/nesXtabHistoryTracker';
|
|
@@ -42,4 +43,619 @@ export declare const N_LINES_BELOW = 5;
|
|
|
42
43
|
export declare const N_LINES_AS_CONTEXT = 15;
|
|
43
44
|
export declare function clipPreservingRange(docLines: string[], rangeToPreserve: OffsetRange, computeTokens: (s: string) => number, pageSize: number, opts: CurrentFileOptions): Result<OffsetRange, 'outOfBudget'>;
|
|
44
45
|
export declare function createTaggedCurrentFileContentUsingPagedClipping(currentDocLines: string[], areaAroundCodeToEdit: string, areaAroundEditWindowLinesRange: OffsetRange, computeTokens: (s: string) => number, pageSize: number, opts: CurrentFileOptions): Result<readonly string[], 'outOfBudget'>;
|
|
46
|
+
export declare function constructTaggedFile(currentDocument: CurrentDocument, editWindowLinesRange: OffsetRange, areaAroundEditWindowLinesRange: OffsetRange, promptOptions: xtabPromptOptions.PromptOptions, computeTokens: (s: string) => number, opts: {
|
|
47
|
+
includeLineNumbers: {
|
|
48
|
+
areaAroundCodeToEdit: boolean;
|
|
49
|
+
currentFileContent: boolean;
|
|
50
|
+
};
|
|
51
|
+
}): {
|
|
52
|
+
readonly err: "outOfBudget";
|
|
53
|
+
map(f: unknown): /*elided*/ any;
|
|
54
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
55
|
+
isOk(): this is {
|
|
56
|
+
readonly val: never;
|
|
57
|
+
map<K>(f: (result: never) => K): {
|
|
58
|
+
readonly val: K;
|
|
59
|
+
map<K_1>(f: (result: K) => K_1): {
|
|
60
|
+
readonly val: K_1;
|
|
61
|
+
map<K_2>(f: (result: K_1) => K_2): {
|
|
62
|
+
readonly val: K_2;
|
|
63
|
+
map<K_3>(f: (result: K_2) => K_3): {
|
|
64
|
+
readonly val: K_3;
|
|
65
|
+
map<K_4>(f: (result: K_3) => K_4): {
|
|
66
|
+
readonly val: K_4;
|
|
67
|
+
map<K_5>(f: (result: K_4) => K_5): {
|
|
68
|
+
readonly val: K_5;
|
|
69
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
70
|
+
readonly val: K_6;
|
|
71
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
72
|
+
readonly val: K_7;
|
|
73
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
74
|
+
readonly val: K_8;
|
|
75
|
+
map<K_9>(f: (result: K_8) => K_9): {
|
|
76
|
+
readonly val: K_9;
|
|
77
|
+
map<K_10>(f: (result: K_9) => K_10): /*elided*/ any;
|
|
78
|
+
flatMap<K_10>(f: (result: K_9) => Result<K_10, never>): Result<K_10, never>;
|
|
79
|
+
isOk(): this is /*elided*/ any;
|
|
80
|
+
isError(): this is {
|
|
81
|
+
readonly err: never;
|
|
82
|
+
map(f: unknown): /*elided*/ any;
|
|
83
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
84
|
+
isOk(): this is /*elided*/ any;
|
|
85
|
+
isError(): this is /*elided*/ any;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
89
|
+
isOk(): this is /*elided*/ any;
|
|
90
|
+
isError(): this is {
|
|
91
|
+
readonly err: never;
|
|
92
|
+
map(f: unknown): /*elided*/ any;
|
|
93
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
94
|
+
isOk(): this is /*elided*/ any;
|
|
95
|
+
isError(): this is /*elided*/ any;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
99
|
+
isOk(): this is /*elided*/ any;
|
|
100
|
+
isError(): this is {
|
|
101
|
+
readonly err: never;
|
|
102
|
+
map(f: unknown): /*elided*/ any;
|
|
103
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
104
|
+
isOk(): this is /*elided*/ any;
|
|
105
|
+
isError(): this is /*elided*/ any;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
109
|
+
isOk(): this is /*elided*/ any;
|
|
110
|
+
isError(): this is {
|
|
111
|
+
readonly err: never;
|
|
112
|
+
map(f: unknown): /*elided*/ any;
|
|
113
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
114
|
+
isOk(): this is /*elided*/ any;
|
|
115
|
+
isError(): this is /*elided*/ any;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
119
|
+
isOk(): this is /*elided*/ any;
|
|
120
|
+
isError(): this is {
|
|
121
|
+
readonly err: never;
|
|
122
|
+
map(f: unknown): /*elided*/ any;
|
|
123
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
124
|
+
isOk(): this is /*elided*/ any;
|
|
125
|
+
isError(): this is /*elided*/ any;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
flatMap<K_5>(f: (result: K_4) => Result<K_5, never>): Result<K_5, never>;
|
|
129
|
+
isOk(): this is /*elided*/ any;
|
|
130
|
+
isError(): this is {
|
|
131
|
+
readonly err: never;
|
|
132
|
+
map(f: unknown): /*elided*/ any;
|
|
133
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
134
|
+
isOk(): this is /*elided*/ any;
|
|
135
|
+
isError(): this is /*elided*/ any;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
flatMap<K_4>(f: (result: K_3) => Result<K_4, never>): Result<K_4, never>;
|
|
139
|
+
isOk(): this is /*elided*/ any;
|
|
140
|
+
isError(): this is {
|
|
141
|
+
readonly err: never;
|
|
142
|
+
map(f: unknown): /*elided*/ any;
|
|
143
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
144
|
+
isOk(): this is /*elided*/ any;
|
|
145
|
+
isError(): this is /*elided*/ any;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
flatMap<K_3>(f: (result: K_2) => Result<K_3, never>): Result<K_3, never>;
|
|
149
|
+
isOk(): this is /*elided*/ any;
|
|
150
|
+
isError(): this is {
|
|
151
|
+
readonly err: never;
|
|
152
|
+
map(f: unknown): /*elided*/ any;
|
|
153
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
154
|
+
isOk(): this is /*elided*/ any;
|
|
155
|
+
isError(): this is /*elided*/ any;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
flatMap<K_2>(f: (result: K_1) => Result<K_2, never>): Result<K_2, never>;
|
|
159
|
+
isOk(): this is /*elided*/ any;
|
|
160
|
+
isError(): this is {
|
|
161
|
+
readonly err: never;
|
|
162
|
+
map(f: unknown): /*elided*/ any;
|
|
163
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
164
|
+
isOk(): this is /*elided*/ any;
|
|
165
|
+
isError(): this is /*elided*/ any;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
flatMap<K_1>(f: (result: K) => Result<K_1, never>): Result<K_1, never>;
|
|
169
|
+
isOk(): this is /*elided*/ any;
|
|
170
|
+
isError(): this is {
|
|
171
|
+
readonly err: never;
|
|
172
|
+
map(f: unknown): /*elided*/ any;
|
|
173
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
174
|
+
isOk(): this is /*elided*/ any;
|
|
175
|
+
isError(): this is /*elided*/ any;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
flatMap<K>(f: (result: never) => Result<K, never>): Result<K, never>;
|
|
179
|
+
isOk(): this is /*elided*/ any;
|
|
180
|
+
isError(): this is {
|
|
181
|
+
readonly err: never;
|
|
182
|
+
map(f: unknown): /*elided*/ any;
|
|
183
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
184
|
+
isOk(): this is /*elided*/ any;
|
|
185
|
+
isError(): this is /*elided*/ any;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
isError(): this is /*elided*/ any;
|
|
189
|
+
} | {
|
|
190
|
+
readonly val: {
|
|
191
|
+
taggedCurrentDocLines: readonly string[];
|
|
192
|
+
areaAroundCodeToEdit: string;
|
|
193
|
+
};
|
|
194
|
+
map<K>(f: (result: {
|
|
195
|
+
taggedCurrentDocLines: readonly string[];
|
|
196
|
+
areaAroundCodeToEdit: string;
|
|
197
|
+
}) => K): {
|
|
198
|
+
readonly val: K;
|
|
199
|
+
map<K_1>(f: (result: K) => K_1): {
|
|
200
|
+
readonly val: K_1;
|
|
201
|
+
map<K_2>(f: (result: K_1) => K_2): {
|
|
202
|
+
readonly val: K_2;
|
|
203
|
+
map<K_3>(f: (result: K_2) => K_3): {
|
|
204
|
+
readonly val: K_3;
|
|
205
|
+
map<K_4>(f: (result: K_3) => K_4): {
|
|
206
|
+
readonly val: K_4;
|
|
207
|
+
map<K_5>(f: (result: K_4) => K_5): {
|
|
208
|
+
readonly val: K_5;
|
|
209
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
210
|
+
readonly val: K_6;
|
|
211
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
212
|
+
readonly val: K_7;
|
|
213
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
214
|
+
readonly val: K_8;
|
|
215
|
+
map<K_9>(f: (result: K_8) => K_9): {
|
|
216
|
+
readonly val: K_9;
|
|
217
|
+
map<K_10>(f: (result: K_9) => K_10): /*elided*/ any;
|
|
218
|
+
flatMap<K_10>(f: (result: K_9) => Result<K_10, never>): Result<K_10, never>;
|
|
219
|
+
isOk(): this is /*elided*/ any;
|
|
220
|
+
isError(): this is {
|
|
221
|
+
readonly err: never;
|
|
222
|
+
map(f: unknown): /*elided*/ any;
|
|
223
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
224
|
+
isOk(): this is /*elided*/ any;
|
|
225
|
+
isError(): this is /*elided*/ any;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
229
|
+
isOk(): this is /*elided*/ any;
|
|
230
|
+
isError(): this is {
|
|
231
|
+
readonly err: never;
|
|
232
|
+
map(f: unknown): /*elided*/ any;
|
|
233
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
234
|
+
isOk(): this is {
|
|
235
|
+
readonly val: never;
|
|
236
|
+
map<K_9>(f: (result: never) => K_9): /*elided*/ any;
|
|
237
|
+
flatMap<K_9>(f: (result: never) => Result<K_9, never>): Result<K_9, never>;
|
|
238
|
+
isOk(): this is /*elided*/ any;
|
|
239
|
+
isError(): this is /*elided*/ any;
|
|
240
|
+
};
|
|
241
|
+
isError(): this is /*elided*/ any;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
245
|
+
isOk(): this is /*elided*/ any;
|
|
246
|
+
isError(): this is {
|
|
247
|
+
readonly err: never;
|
|
248
|
+
map(f: unknown): /*elided*/ any;
|
|
249
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
250
|
+
isOk(): this is {
|
|
251
|
+
readonly val: never;
|
|
252
|
+
map<K_8>(f: (result: never) => K_8): {
|
|
253
|
+
readonly val: K_8;
|
|
254
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
255
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
256
|
+
isOk(): this is /*elided*/ any;
|
|
257
|
+
isError(): this is /*elided*/ any;
|
|
258
|
+
};
|
|
259
|
+
flatMap<K_8>(f: (result: never) => Result<K_8, never>): Result<K_8, never>;
|
|
260
|
+
isOk(): this is /*elided*/ any;
|
|
261
|
+
isError(): this is /*elided*/ any;
|
|
262
|
+
};
|
|
263
|
+
isError(): this is /*elided*/ any;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
267
|
+
isOk(): this is /*elided*/ any;
|
|
268
|
+
isError(): this is {
|
|
269
|
+
readonly err: never;
|
|
270
|
+
map(f: unknown): /*elided*/ any;
|
|
271
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
272
|
+
isOk(): this is {
|
|
273
|
+
readonly val: never;
|
|
274
|
+
map<K_7>(f: (result: never) => K_7): {
|
|
275
|
+
readonly val: K_7;
|
|
276
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
277
|
+
readonly val: K_8;
|
|
278
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
279
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
280
|
+
isOk(): this is /*elided*/ any;
|
|
281
|
+
isError(): this is /*elided*/ any;
|
|
282
|
+
};
|
|
283
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
284
|
+
isOk(): this is /*elided*/ any;
|
|
285
|
+
isError(): this is /*elided*/ any;
|
|
286
|
+
};
|
|
287
|
+
flatMap<K_7>(f: (result: never) => Result<K_7, never>): Result<K_7, never>;
|
|
288
|
+
isOk(): this is /*elided*/ any;
|
|
289
|
+
isError(): this is /*elided*/ any;
|
|
290
|
+
};
|
|
291
|
+
isError(): this is /*elided*/ any;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
295
|
+
isOk(): this is /*elided*/ any;
|
|
296
|
+
isError(): this is {
|
|
297
|
+
readonly err: never;
|
|
298
|
+
map(f: unknown): /*elided*/ any;
|
|
299
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
300
|
+
isOk(): this is {
|
|
301
|
+
readonly val: never;
|
|
302
|
+
map<K_6>(f: (result: never) => K_6): {
|
|
303
|
+
readonly val: K_6;
|
|
304
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
305
|
+
readonly val: K_7;
|
|
306
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
307
|
+
readonly val: K_8;
|
|
308
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
309
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
310
|
+
isOk(): this is /*elided*/ any;
|
|
311
|
+
isError(): this is /*elided*/ any;
|
|
312
|
+
};
|
|
313
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
314
|
+
isOk(): this is /*elided*/ any;
|
|
315
|
+
isError(): this is /*elided*/ any;
|
|
316
|
+
};
|
|
317
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
318
|
+
isOk(): this is /*elided*/ any;
|
|
319
|
+
isError(): this is /*elided*/ any;
|
|
320
|
+
};
|
|
321
|
+
flatMap<K_6>(f: (result: never) => Result<K_6, never>): Result<K_6, never>;
|
|
322
|
+
isOk(): this is /*elided*/ any;
|
|
323
|
+
isError(): this is /*elided*/ any;
|
|
324
|
+
};
|
|
325
|
+
isError(): this is /*elided*/ any;
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
flatMap<K_5>(f: (result: K_4) => Result<K_5, never>): Result<K_5, never>;
|
|
329
|
+
isOk(): this is /*elided*/ any;
|
|
330
|
+
isError(): this is {
|
|
331
|
+
readonly err: never;
|
|
332
|
+
map(f: unknown): /*elided*/ any;
|
|
333
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
334
|
+
isOk(): this is {
|
|
335
|
+
readonly val: never;
|
|
336
|
+
map<K_5>(f: (result: never) => K_5): {
|
|
337
|
+
readonly val: K_5;
|
|
338
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
339
|
+
readonly val: K_6;
|
|
340
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
341
|
+
readonly val: K_7;
|
|
342
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
343
|
+
readonly val: K_8;
|
|
344
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
345
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
346
|
+
isOk(): this is /*elided*/ any;
|
|
347
|
+
isError(): this is /*elided*/ any;
|
|
348
|
+
};
|
|
349
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
350
|
+
isOk(): this is /*elided*/ any;
|
|
351
|
+
isError(): this is /*elided*/ any;
|
|
352
|
+
};
|
|
353
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
354
|
+
isOk(): this is /*elided*/ any;
|
|
355
|
+
isError(): this is /*elided*/ any;
|
|
356
|
+
};
|
|
357
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
358
|
+
isOk(): this is /*elided*/ any;
|
|
359
|
+
isError(): this is /*elided*/ any;
|
|
360
|
+
};
|
|
361
|
+
flatMap<K_5>(f: (result: never) => Result<K_5, never>): Result<K_5, never>;
|
|
362
|
+
isOk(): this is /*elided*/ any;
|
|
363
|
+
isError(): this is /*elided*/ any;
|
|
364
|
+
};
|
|
365
|
+
isError(): this is /*elided*/ any;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
flatMap<K_4>(f: (result: K_3) => Result<K_4, never>): Result<K_4, never>;
|
|
369
|
+
isOk(): this is /*elided*/ any;
|
|
370
|
+
isError(): this is {
|
|
371
|
+
readonly err: never;
|
|
372
|
+
map(f: unknown): /*elided*/ any;
|
|
373
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
374
|
+
isOk(): this is {
|
|
375
|
+
readonly val: never;
|
|
376
|
+
map<K_4>(f: (result: never) => K_4): {
|
|
377
|
+
readonly val: K_4;
|
|
378
|
+
map<K_5>(f: (result: K_4) => K_5): {
|
|
379
|
+
readonly val: K_5;
|
|
380
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
381
|
+
readonly val: K_6;
|
|
382
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
383
|
+
readonly val: K_7;
|
|
384
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
385
|
+
readonly val: K_8;
|
|
386
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
387
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
388
|
+
isOk(): this is /*elided*/ any;
|
|
389
|
+
isError(): this is /*elided*/ any;
|
|
390
|
+
};
|
|
391
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
392
|
+
isOk(): this is /*elided*/ any;
|
|
393
|
+
isError(): this is /*elided*/ any;
|
|
394
|
+
};
|
|
395
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
396
|
+
isOk(): this is /*elided*/ any;
|
|
397
|
+
isError(): this is /*elided*/ any;
|
|
398
|
+
};
|
|
399
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
400
|
+
isOk(): this is /*elided*/ any;
|
|
401
|
+
isError(): this is /*elided*/ any;
|
|
402
|
+
};
|
|
403
|
+
flatMap<K_5>(f: (result: K_4) => Result<K_5, never>): Result<K_5, never>;
|
|
404
|
+
isOk(): this is /*elided*/ any;
|
|
405
|
+
isError(): this is /*elided*/ any;
|
|
406
|
+
};
|
|
407
|
+
flatMap<K_4>(f: (result: never) => Result<K_4, never>): Result<K_4, never>;
|
|
408
|
+
isOk(): this is /*elided*/ any;
|
|
409
|
+
isError(): this is /*elided*/ any;
|
|
410
|
+
};
|
|
411
|
+
isError(): this is /*elided*/ any;
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
flatMap<K_3>(f: (result: K_2) => Result<K_3, never>): Result<K_3, never>;
|
|
415
|
+
isOk(): this is /*elided*/ any;
|
|
416
|
+
isError(): this is {
|
|
417
|
+
readonly err: never;
|
|
418
|
+
map(f: unknown): /*elided*/ any;
|
|
419
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
420
|
+
isOk(): this is {
|
|
421
|
+
readonly val: never;
|
|
422
|
+
map<K_3>(f: (result: never) => K_3): {
|
|
423
|
+
readonly val: K_3;
|
|
424
|
+
map<K_4>(f: (result: K_3) => K_4): {
|
|
425
|
+
readonly val: K_4;
|
|
426
|
+
map<K_5>(f: (result: K_4) => K_5): {
|
|
427
|
+
readonly val: K_5;
|
|
428
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
429
|
+
readonly val: K_6;
|
|
430
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
431
|
+
readonly val: K_7;
|
|
432
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
433
|
+
readonly val: K_8;
|
|
434
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
435
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
436
|
+
isOk(): this is /*elided*/ any;
|
|
437
|
+
isError(): this is /*elided*/ any;
|
|
438
|
+
};
|
|
439
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
440
|
+
isOk(): this is /*elided*/ any;
|
|
441
|
+
isError(): this is /*elided*/ any;
|
|
442
|
+
};
|
|
443
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
444
|
+
isOk(): this is /*elided*/ any;
|
|
445
|
+
isError(): this is /*elided*/ any;
|
|
446
|
+
};
|
|
447
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
448
|
+
isOk(): this is /*elided*/ any;
|
|
449
|
+
isError(): this is /*elided*/ any;
|
|
450
|
+
};
|
|
451
|
+
flatMap<K_5>(f: (result: K_4) => Result<K_5, never>): Result<K_5, never>;
|
|
452
|
+
isOk(): this is /*elided*/ any;
|
|
453
|
+
isError(): this is /*elided*/ any;
|
|
454
|
+
};
|
|
455
|
+
flatMap<K_4>(f: (result: K_3) => Result<K_4, never>): Result<K_4, never>;
|
|
456
|
+
isOk(): this is /*elided*/ any;
|
|
457
|
+
isError(): this is /*elided*/ any;
|
|
458
|
+
};
|
|
459
|
+
flatMap<K_3>(f: (result: never) => Result<K_3, never>): Result<K_3, never>;
|
|
460
|
+
isOk(): this is /*elided*/ any;
|
|
461
|
+
isError(): this is /*elided*/ any;
|
|
462
|
+
};
|
|
463
|
+
isError(): this is /*elided*/ any;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
flatMap<K_2>(f: (result: K_1) => Result<K_2, never>): Result<K_2, never>;
|
|
467
|
+
isOk(): this is /*elided*/ any;
|
|
468
|
+
isError(): this is {
|
|
469
|
+
readonly err: never;
|
|
470
|
+
map(f: unknown): /*elided*/ any;
|
|
471
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
472
|
+
isOk(): this is {
|
|
473
|
+
readonly val: never;
|
|
474
|
+
map<K_2>(f: (result: never) => K_2): {
|
|
475
|
+
readonly val: K_2;
|
|
476
|
+
map<K_3>(f: (result: K_2) => K_3): {
|
|
477
|
+
readonly val: K_3;
|
|
478
|
+
map<K_4>(f: (result: K_3) => K_4): {
|
|
479
|
+
readonly val: K_4;
|
|
480
|
+
map<K_5>(f: (result: K_4) => K_5): {
|
|
481
|
+
readonly val: K_5;
|
|
482
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
483
|
+
readonly val: K_6;
|
|
484
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
485
|
+
readonly val: K_7;
|
|
486
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
487
|
+
readonly val: K_8;
|
|
488
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
489
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
490
|
+
isOk(): this is /*elided*/ any;
|
|
491
|
+
isError(): this is /*elided*/ any;
|
|
492
|
+
};
|
|
493
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
494
|
+
isOk(): this is /*elided*/ any;
|
|
495
|
+
isError(): this is /*elided*/ any;
|
|
496
|
+
};
|
|
497
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
498
|
+
isOk(): this is /*elided*/ any;
|
|
499
|
+
isError(): this is /*elided*/ any;
|
|
500
|
+
};
|
|
501
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
502
|
+
isOk(): this is /*elided*/ any;
|
|
503
|
+
isError(): this is /*elided*/ any;
|
|
504
|
+
};
|
|
505
|
+
flatMap<K_5>(f: (result: K_4) => Result<K_5, never>): Result<K_5, never>;
|
|
506
|
+
isOk(): this is /*elided*/ any;
|
|
507
|
+
isError(): this is /*elided*/ any;
|
|
508
|
+
};
|
|
509
|
+
flatMap<K_4>(f: (result: K_3) => Result<K_4, never>): Result<K_4, never>;
|
|
510
|
+
isOk(): this is /*elided*/ any;
|
|
511
|
+
isError(): this is /*elided*/ any;
|
|
512
|
+
};
|
|
513
|
+
flatMap<K_3>(f: (result: K_2) => Result<K_3, never>): Result<K_3, never>;
|
|
514
|
+
isOk(): this is /*elided*/ any;
|
|
515
|
+
isError(): this is /*elided*/ any;
|
|
516
|
+
};
|
|
517
|
+
flatMap<K_2>(f: (result: never) => Result<K_2, never>): Result<K_2, never>;
|
|
518
|
+
isOk(): this is /*elided*/ any;
|
|
519
|
+
isError(): this is /*elided*/ any;
|
|
520
|
+
};
|
|
521
|
+
isError(): this is /*elided*/ any;
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
flatMap<K_1>(f: (result: K) => Result<K_1, never>): Result<K_1, never>;
|
|
525
|
+
isOk(): this is /*elided*/ any;
|
|
526
|
+
isError(): this is {
|
|
527
|
+
readonly err: never;
|
|
528
|
+
map(f: unknown): /*elided*/ any;
|
|
529
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
530
|
+
isOk(): this is {
|
|
531
|
+
readonly val: never;
|
|
532
|
+
map<K_1>(f: (result: never) => K_1): {
|
|
533
|
+
readonly val: K_1;
|
|
534
|
+
map<K_2>(f: (result: K_1) => K_2): {
|
|
535
|
+
readonly val: K_2;
|
|
536
|
+
map<K_3>(f: (result: K_2) => K_3): {
|
|
537
|
+
readonly val: K_3;
|
|
538
|
+
map<K_4>(f: (result: K_3) => K_4): {
|
|
539
|
+
readonly val: K_4;
|
|
540
|
+
map<K_5>(f: (result: K_4) => K_5): {
|
|
541
|
+
readonly val: K_5;
|
|
542
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
543
|
+
readonly val: K_6;
|
|
544
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
545
|
+
readonly val: K_7;
|
|
546
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
547
|
+
readonly val: K_8;
|
|
548
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
549
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
550
|
+
isOk(): this is /*elided*/ any;
|
|
551
|
+
isError(): this is /*elided*/ any;
|
|
552
|
+
};
|
|
553
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
554
|
+
isOk(): this is /*elided*/ any;
|
|
555
|
+
isError(): this is /*elided*/ any;
|
|
556
|
+
};
|
|
557
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
558
|
+
isOk(): this is /*elided*/ any;
|
|
559
|
+
isError(): this is /*elided*/ any;
|
|
560
|
+
};
|
|
561
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
562
|
+
isOk(): this is /*elided*/ any;
|
|
563
|
+
isError(): this is /*elided*/ any;
|
|
564
|
+
};
|
|
565
|
+
flatMap<K_5>(f: (result: K_4) => Result<K_5, never>): Result<K_5, never>;
|
|
566
|
+
isOk(): this is /*elided*/ any;
|
|
567
|
+
isError(): this is /*elided*/ any;
|
|
568
|
+
};
|
|
569
|
+
flatMap<K_4>(f: (result: K_3) => Result<K_4, never>): Result<K_4, never>;
|
|
570
|
+
isOk(): this is /*elided*/ any;
|
|
571
|
+
isError(): this is /*elided*/ any;
|
|
572
|
+
};
|
|
573
|
+
flatMap<K_3>(f: (result: K_2) => Result<K_3, never>): Result<K_3, never>;
|
|
574
|
+
isOk(): this is /*elided*/ any;
|
|
575
|
+
isError(): this is /*elided*/ any;
|
|
576
|
+
};
|
|
577
|
+
flatMap<K_2>(f: (result: K_1) => Result<K_2, never>): Result<K_2, never>;
|
|
578
|
+
isOk(): this is /*elided*/ any;
|
|
579
|
+
isError(): this is /*elided*/ any;
|
|
580
|
+
};
|
|
581
|
+
flatMap<K_1>(f: (result: never) => Result<K_1, never>): Result<K_1, never>;
|
|
582
|
+
isOk(): this is /*elided*/ any;
|
|
583
|
+
isError(): this is /*elided*/ any;
|
|
584
|
+
};
|
|
585
|
+
isError(): this is /*elided*/ any;
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
flatMap<K>(f: (result: {
|
|
589
|
+
taggedCurrentDocLines: readonly string[];
|
|
590
|
+
areaAroundCodeToEdit: string;
|
|
591
|
+
}) => Result<K, never>): Result<K, never>;
|
|
592
|
+
isOk(): this is /*elided*/ any;
|
|
593
|
+
isError(): this is {
|
|
594
|
+
readonly err: never;
|
|
595
|
+
map(f: unknown): /*elided*/ any;
|
|
596
|
+
flatMap(f: unknown): /*elided*/ any;
|
|
597
|
+
isOk(): this is {
|
|
598
|
+
readonly val: never;
|
|
599
|
+
map<K>(f: (result: never) => K): {
|
|
600
|
+
readonly val: K;
|
|
601
|
+
map<K_1>(f: (result: K) => K_1): {
|
|
602
|
+
readonly val: K_1;
|
|
603
|
+
map<K_2>(f: (result: K_1) => K_2): {
|
|
604
|
+
readonly val: K_2;
|
|
605
|
+
map<K_3>(f: (result: K_2) => K_3): {
|
|
606
|
+
readonly val: K_3;
|
|
607
|
+
map<K_4>(f: (result: K_3) => K_4): {
|
|
608
|
+
readonly val: K_4;
|
|
609
|
+
map<K_5>(f: (result: K_4) => K_5): {
|
|
610
|
+
readonly val: K_5;
|
|
611
|
+
map<K_6>(f: (result: K_5) => K_6): {
|
|
612
|
+
readonly val: K_6;
|
|
613
|
+
map<K_7>(f: (result: K_6) => K_7): {
|
|
614
|
+
readonly val: K_7;
|
|
615
|
+
map<K_8>(f: (result: K_7) => K_8): {
|
|
616
|
+
readonly val: K_8;
|
|
617
|
+
map<K_9>(f: (result: K_8) => K_9): /*elided*/ any;
|
|
618
|
+
flatMap<K_9>(f: (result: K_8) => Result<K_9, never>): Result<K_9, never>;
|
|
619
|
+
isOk(): this is /*elided*/ any;
|
|
620
|
+
isError(): this is /*elided*/ any;
|
|
621
|
+
};
|
|
622
|
+
flatMap<K_8>(f: (result: K_7) => Result<K_8, never>): Result<K_8, never>;
|
|
623
|
+
isOk(): this is /*elided*/ any;
|
|
624
|
+
isError(): this is /*elided*/ any;
|
|
625
|
+
};
|
|
626
|
+
flatMap<K_7>(f: (result: K_6) => Result<K_7, never>): Result<K_7, never>;
|
|
627
|
+
isOk(): this is /*elided*/ any;
|
|
628
|
+
isError(): this is /*elided*/ any;
|
|
629
|
+
};
|
|
630
|
+
flatMap<K_6>(f: (result: K_5) => Result<K_6, never>): Result<K_6, never>;
|
|
631
|
+
isOk(): this is /*elided*/ any;
|
|
632
|
+
isError(): this is /*elided*/ any;
|
|
633
|
+
};
|
|
634
|
+
flatMap<K_5>(f: (result: K_4) => Result<K_5, never>): Result<K_5, never>;
|
|
635
|
+
isOk(): this is /*elided*/ any;
|
|
636
|
+
isError(): this is /*elided*/ any;
|
|
637
|
+
};
|
|
638
|
+
flatMap<K_4>(f: (result: K_3) => Result<K_4, never>): Result<K_4, never>;
|
|
639
|
+
isOk(): this is /*elided*/ any;
|
|
640
|
+
isError(): this is /*elided*/ any;
|
|
641
|
+
};
|
|
642
|
+
flatMap<K_3>(f: (result: K_2) => Result<K_3, never>): Result<K_3, never>;
|
|
643
|
+
isOk(): this is /*elided*/ any;
|
|
644
|
+
isError(): this is /*elided*/ any;
|
|
645
|
+
};
|
|
646
|
+
flatMap<K_2>(f: (result: K_1) => Result<K_2, never>): Result<K_2, never>;
|
|
647
|
+
isOk(): this is /*elided*/ any;
|
|
648
|
+
isError(): this is /*elided*/ any;
|
|
649
|
+
};
|
|
650
|
+
flatMap<K_1>(f: (result: K) => Result<K_1, never>): Result<K_1, never>;
|
|
651
|
+
isOk(): this is /*elided*/ any;
|
|
652
|
+
isError(): this is /*elided*/ any;
|
|
653
|
+
};
|
|
654
|
+
flatMap<K>(f: (result: never) => Result<K, never>): Result<K, never>;
|
|
655
|
+
isOk(): this is /*elided*/ any;
|
|
656
|
+
isError(): this is /*elided*/ any;
|
|
657
|
+
};
|
|
658
|
+
isError(): this is /*elided*/ any;
|
|
659
|
+
};
|
|
660
|
+
};
|
|
45
661
|
//# sourceMappingURL=promptCrafting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptCrafting.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/extension/xtab/common/promptCrafting.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,2DAA2D,CAAC;AAEvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,gEAAgE,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAyC,aAAa,EAAE,MAAM,kEAAkE,CAAC;AAC5J,OAAO,EAAE,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AAC3G,OAAO,EAAyB,iBAAiB,EAAE,MAAM,iFAAiF,CAAC;AAE3I,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"promptCrafting.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/extension/xtab/common/promptCrafting.ts"],"names":[],"mappings":"AAKA,O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