@maxim_mazurok/gapi.client.script-v1 0.2.20260308 → 0.2.20260601

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 (3) hide show
  1. package/index.d.ts +2 -2
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://script.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260308
12
+ // Revision: 20260601
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -290,7 +290,7 @@ declare namespace gapi.client {
290
290
  /** The status code. For this API, this value either: - 10, indicating a `SCRIPT_TIMEOUT` error, - 3, indicating an `INVALID_ARGUMENT` error, or - 1, indicating a `CANCELLED` execution. */
291
291
  code?: number;
292
292
  /** An array that contains a single ExecutionError object that provides information about the nature of the error. */
293
- details?: Array<{[P in string]: any}>;
293
+ details?: {[P in string]: any}[];
294
294
  /** A developer-facing error message, which is in English. Any user-facing error message is localized and sent in the details field, or localized by the client. */
295
295
  message?: string;
296
296
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.script-v1",
3
- "version": "0.2.20260308",
3
+ "version": "0.2.20260601",
4
4
  "description": "TypeScript typings for Apps Script API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,18 @@ Install typings for Apps Script API:
11
11
  npm install @types/gapi.client.script-v1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.script-v1"]
22
+ }
23
+ }
24
+ ```
25
+
14
26
  ## Usage
15
27
 
16
28
  You need to initialize Google API client in your code: