@octokit/types
Advanced tools
Comparing version 2.8.1 to 2.8.2
{ | ||
"name": "@octokit/types", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"publishConfig": { | ||
@@ -13,7 +13,7 @@ "access": "public" | ||
"scripts": { | ||
"docs": "typedoc --module commonjs --readme none --out docs src/", | ||
"docs": "typedoc --module commonjs --readme none --out docs src/ && touch docs/.nojekyll", | ||
"lint": "prettier --check '{src,test,scripts}/**/*.{js,ts,json}' README.md package.json !src/generated/* !scripts/update-endpoints/generated/*", | ||
"lint:fix": "prettier --write '{src,test,scripts}/**/*.{js,ts,json}' README.md package.json !src/generated/* !scripts/update-endpoints/generated/*", | ||
"pretest": "npm run -s lint", | ||
"test": "./node_modules/.bin/tsc --noEmit --declaration src/index.ts", | ||
"test": "npx tsc --noEmit --declaration src/index.ts", | ||
"update-endpoints": "npm-run-all update-endpoints:*", | ||
@@ -20,0 +20,0 @@ "update-endpoints:fetch-json": "node scripts/update-endpoints/fetch-json", |
@@ -21,6 +21,6 @@ # types.ts | ||
const octokit = new Octokit(); | ||
type CreateLabelResponseType = GetResponseType< | ||
type CreateLabelResponseType = GetResponseTypeFromEndpointMethod< | ||
typeof octokit.issues.createLabel | ||
>; | ||
type CreateLabelResponseDataType = GetResponseDataType< | ||
type CreateLabelResponseDataType = GetResponseDataTypeFromEndpointMethod< | ||
typeof octokit.issues.createLabel | ||
@@ -27,0 +27,0 @@ >; |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "2.8.1"; | ||
export const VERSION = "2.8.2"; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1023474