Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@userscripters/stackexchange-api-types

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@userscripters/stackexchange-api-types - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

2

package.json
{
"name": "@userscripters/stackexchange-api-types",
"description": "Stack Exchange API types generator",
"version": "3.1.0",
"version": "3.1.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Oleg Valter",

@@ -9,3 +9,3 @@

| License | [GPL-3.0-or-later](https://spdx.org/licenses/GPL-3.0-or-later) |
| Version | 3.1.0 |
| Version | 3.1.1 |

@@ -12,0 +12,0 @@ # Support

import { expectAssignable, expectType } from "tsd";
import { Question } from "../lib/types";
import { CommonWrapperObject } from "../lib/wrapper";
import { Wrappers } from "../lib/wrapper";
declare function getQuestionFromAPI(
id: number
): Promise<CommonWrapperObject<Question>>;
): Promise<Wrappers.CommonWrapperObject<Question>>;
const response = await getQuestionFromAPI(42);
expectAssignable<CommonWrapperObject>(response);
expectAssignable<Wrappers.CommonWrapperObject>(response);

@@ -12,0 +12,0 @@ const { backoff, items, has_more, quota_max, quota_remaining } = response;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc