@atlaspack/lsp-protocol 2.14.2-typescript-1fd1095e8.0 → 2.14.2-typescript-e99c742e9.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.
Files changed (2) hide show
  1. package/lib/index.d.ts +27 -0
  2. package/package.json +7 -7
package/lib/index.d.ts ADDED
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @typedef {import("vscode-languageserver")} lsp
3
+ *
4
+ * @typedef PublishDiagnostic
5
+ * @prop {import('vscode-languageserver').DocumentUri} uri
6
+ * @prop {Array<import('vscode-languageserver').Diagnostics>} diagnostics
7
+ */
8
+ /**
9
+ * @type {RequestType<DocumentUri, Array<DocumentUri> | null, void>}
10
+ */
11
+ export declare const RequestImporters: any;
12
+ /**
13
+ * @type {RequestType<DocumentUri, Array<Diagnostic> | undefined, void>}
14
+ */
15
+ export declare const RequestDocumentDiagnostics: any;
16
+ /**
17
+ * @type {NotificationType<Array<PublishDiagnostic>>}
18
+ */
19
+ export declare const NotificationWorkspaceDiagnostics: any;
20
+ /**
21
+ * @type {NotificationType2<'start' | 'progress' | 'end', string | void>}
22
+ */
23
+ export declare const NotificationBuildStatus: any;
24
+ /**
25
+ * @type {import('vscode-languageserver').NotificationType0}
26
+ */
27
+ export declare const NotificationBuild: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/lsp-protocol",
3
- "version": "2.14.2-typescript-1fd1095e8.0",
3
+ "version": "2.14.2-typescript-e99c742e9.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,12 +9,12 @@
9
9
  "type": "git",
10
10
  "url": "https://github.com/atlassian-labs/atlaspack.git"
11
11
  },
12
- "main": "lib/index.js",
13
- "source": "src/index.ts",
14
- "types": "src/index.ts",
12
+ "main": "./lib/index.js",
13
+ "source": "./src/index.ts",
14
+ "types": "./lib/index.d.ts",
15
15
  "scripts": {
16
16
  "watch": "tsc -watch -p ./",
17
- "check-ts": "tsc --noEmit"
17
+ "check-ts": "tsc --emitDeclarationOnly --rootDir src"
18
18
  },
19
19
  "engines": {
20
20
  "node": ">= 16.0.0"
@@ -29,5 +29,5 @@
29
29
  "types": false
30
30
  },
31
31
  "type": "commonjs",
32
- "gitHead": "1fd1095e86da1e50d6c7819c0f132ce09a2bf396"
33
- }
32
+ "gitHead": "e99c742e92175ac411d807daf2ba45d5bacebb58"
33
+ }