@arcgis/arcade-languageservice 5.0.0-next.6 → 5.0.0-next.60
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/index.d.ts +6 -7
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -237,7 +237,7 @@ export declare interface Diagnostic {
|
|
|
237
237
|
* A data entry field that is preserved between a `textDocument/publishDiagnostics`
|
|
238
238
|
* notification and `textDocument/codeAction` request.
|
|
239
239
|
*/
|
|
240
|
-
data?:
|
|
240
|
+
data?: DiagnosticData | null;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
/**
|
|
@@ -252,7 +252,7 @@ declare class Diagnostic_2 extends Error implements DiagnosticApi {
|
|
|
252
252
|
len: number;
|
|
253
253
|
range: SourceLocation;
|
|
254
254
|
description?: string;
|
|
255
|
-
data?:
|
|
255
|
+
data?: DiagnosticData_2 | null;
|
|
256
256
|
constructor({ code, index, line, column, len, description, data }: DiagnosticApi);
|
|
257
257
|
}
|
|
258
258
|
|
|
@@ -275,7 +275,7 @@ declare interface DiagnosticApi extends Marker {
|
|
|
275
275
|
/**
|
|
276
276
|
* The associated diagnostic data.
|
|
277
277
|
*/
|
|
278
|
-
data?:
|
|
278
|
+
data?: DiagnosticData_2 | null;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
/**
|
|
@@ -327,13 +327,12 @@ declare type DiagnosticCodes_2 = (typeof DiagnosticCodes_2)[keyof typeof Diagnos
|
|
|
327
327
|
* For example in case of an error associated to an identifier,
|
|
328
328
|
* the DiagnosticData will contain a key 'identifier' and its value.
|
|
329
329
|
*/
|
|
330
|
-
declare type
|
|
331
|
-
export { DiagnosticData_2 as DiagnosticData }
|
|
330
|
+
export declare type DiagnosticData = Record<string, number | string>;
|
|
332
331
|
|
|
333
332
|
/**
|
|
334
333
|
* Arcade diagnostic data.
|
|
335
334
|
*/
|
|
336
|
-
declare type
|
|
335
|
+
declare type DiagnosticData_2 = Record<string, number | string>;
|
|
337
336
|
|
|
338
337
|
export declare const DiagnosticMessages: {
|
|
339
338
|
readonly InvalidModuleUri: string;
|
|
@@ -1157,7 +1156,7 @@ declare namespace Parser {
|
|
|
1157
1156
|
ParseOptions,
|
|
1158
1157
|
DiagnosticCodes_2 as DiagnosticCodes,
|
|
1159
1158
|
DiagnosticMessages_2 as DiagnosticMessages,
|
|
1160
|
-
|
|
1159
|
+
DiagnosticData_2 as DiagnosticData,
|
|
1161
1160
|
DiagnosticApi,
|
|
1162
1161
|
Diagnostic_2 as Diagnostic,
|
|
1163
1162
|
LineComment,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/arcade-languageservice",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.60",
|
|
4
4
|
"description": "Arcade Language Service",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/javascript/latest/",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@arcgis/languages-api-utils": "5.0.0-next.
|
|
15
|
+
"@arcgis/languages-api-utils": "5.0.0-next.60",
|
|
16
16
|
"tslib": "^2.8.1",
|
|
17
17
|
"vscode-languageserver-textdocument": "^1.0.11",
|
|
18
18
|
"vscode-languageserver-types": "^3.17.5"
|