Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

mobx

Package Overview
Dependencies
Maintainers
6
Versions
258
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobx - npm Package Compare versions

Comparing version
6.15.2
to
6.15.3
+3
-1
dist/api/flow.d.ts

@@ -12,3 +12,5 @@ import { Annotation } from "../internal";

};
interface Flow extends Annotation, PropertyDecorator, ClassMethodDecorator {
type FlowGenerator = (...args: any[]) => Generator<any, any, any> | AsyncGenerator<any, any, any>;
interface Flow extends Annotation, PropertyDecorator {
<This, Value extends FlowGenerator>(value: Value, context: ClassMethodDecoratorContext<This, Value>): Value | void;
<R, Args extends any[]>(generator: (...args: Args) => Generator<any, R, any> | AsyncGenerator<any, R, any>): (...args: Args) => CancellablePromise<R>;

@@ -15,0 +17,0 @@ bound: Annotation & PropertyDecorator & ClassMethodDecorator;

{
"name": "mobx",
"version": "6.15.2",
"version": "6.15.3",
"description": "Simple, scalable state management.",

@@ -5,0 +5,0 @@ "source": "src/mobx.ts",

@@ -38,3 +38,10 @@ import {

interface Flow extends Annotation, PropertyDecorator, ClassMethodDecorator {
type FlowGenerator = (...args: any[]) => Generator<any, any, any> | AsyncGenerator<any, any, any>
// PropertyDecorator is only for legacy decorators
interface Flow extends Annotation, PropertyDecorator {
<This, Value extends FlowGenerator>(
value: Value,
context: ClassMethodDecoratorContext<This, Value>
): Value | void
<R, Args extends any[]>(

@@ -41,0 +48,0 @@ generator: (...args: Args) => Generator<any, R, any> | AsyncGenerator<any, R, any>

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display