@octokit/types 15.0.1 → 15.0.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.
@@ -1 +1 @@
1
- export declare const VERSION = "15.0.1";
1
+ export declare const VERSION = "15.0.2";
@@ -28,7 +28,7 @@ type ExtractRequestBody<T> = "requestBody" extends keyof T ? "content" extends k
28
28
  type ToOctokitParameters<T> = ExtractParameters<T> & ExtractRequestBody<Required<T>>;
29
29
  interface OctokitReadonlyRequestType<Url extends keyof paths, Method extends keyof paths[Url]> {
30
30
  request: {
31
- method: Method;
31
+ method: Method extends string ? Uppercase<Method> : never;
32
32
  url: Url;
33
33
  headers: RequestHeaders;
34
34
  request: RequestRequestOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "15.0.1",
3
+ "version": "15.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true