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

@yandex/ymaps3-types

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yandex/ymaps3-types - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

4

imperative/YMapReactContainer/index.d.ts
import type TReact from "react";
import type { Context } from "../Entities";
import { reactify } from "../../reactify";
import { YMapGroupEntity } from "../YMapEnities";
import { overrideKeyReactify } from "../wrappers";
interface YMapReactContainerPropsImpl<TContext> {

@@ -25,3 +25,3 @@ onElement: (element?: Element) => void;

/** @internal */
static [reactify.overrideKey]: import("../../reactify/reactify").CustomReactify<YMapReactContainer, TReact.FC<YMapReactContainerProps<unknown> & {
static [overrideKeyReactify]: import("../../reactify/reactify").CustomReactify<YMapReactContainer, TReact.FC<YMapReactContainerProps<unknown> & {
children?: TReact.ReactNode;

@@ -28,0 +28,0 @@ }>>;

export * from "./imperative";
export declare const __DTS_HIDDEN_BEGIN__: unknown;
{
"name": "@yandex/ymaps3-types",
"version": "0.0.8",
"version": "0.0.9",
"description": "Types for ymaps3 maps library",

@@ -5,0 +5,0 @@ "main": "",

import type { Reactify, ReactifyEntity, ReactifiedEntity, ReactifyModule, ReactifiedModule } from "./reactify";
import type { YMapReactContainer } from "../imperative/YMapReactContainer";
import { overrideKeyReactify } from "../imperative/wrappers";

@@ -11,1 +12,8 @@ type TReact = typeof import("react");

export declare const reactify: Readonly<GenericReactify>;
declare module './reactify' {
interface ReactifyModule<TModule extends BaseModule = BaseModule> {
(module: typeof import("../index")): ReactifiedModule<BaseModule & typeof import("../index") & {
YMapReactContainer: typeof YMapReactContainer;
}>;
}
}

@@ -21,3 +21,3 @@ import type TReact from "react";

reactify: {
module: <TModule extends BaseModule>(module: TModule) => ReactifiedModule<TModule>;
module: ReactifyModule;
entity<T extends EntityConstructor<GenericEntity<unknown>> = EntityConstructor<TEntity>>(...args: Parameters<InternalReactifyEntity<T>>): ReturnType<InternalReactifyEntity<T>>;

@@ -37,3 +37,5 @@ context: <TContext extends Context<unknown>>(context?: TContext) => TReact.Context<unknown>;

export type ReactifiedEntity<TCtor extends EntityConstructor<GenericEntity<unknown>>> = ReturnType<InternalReactifyEntity<TCtor>>;
export type ReactifyModule = <TModule extends BaseModule>(module: TModule) => ReactifiedModule<TModule>;
export interface ReactifyModule<TModule extends BaseModule = BaseModule> {
(module: TModule): ReactifiedModule<TModule>;
}
export type GetReactContext<TContext extends Context<unknown>> = (context?: TContext | undefined) => React.Context<unknown>;

@@ -40,0 +42,0 @@ export type ReactifiedModule<TModule extends BaseModule> = {

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