intact-react
Advanced tools
Comparing version 3.0.0-beta.16 to 3.0.0-beta.17
@@ -9,2 +9,3 @@ import { Component } from '../src/core/component'; | ||
b: [number]; | ||
aa: [number, number]; | ||
} | ||
@@ -11,0 +12,0 @@ declare class A<T extends AProps, E extends AEvents> extends Component<T, E> { |
@@ -16,3 +16,3 @@ import { Props } from 'misstime'; | ||
on<K extends keyof Props<P>>(name: `$changed:${string & K}`, callback: ChangeCallback<Props<P>, K>): void; | ||
on<K extends keyof E>(name: K, callback: (...args: any[] & E[K]) => void): void; | ||
on<K extends keyof E>(name: K, callback: (...args: E[K] extends any[] ? E[K] : never) => void): void; | ||
on<K extends keyof L>(name: K, callback: L[K]): void; | ||
@@ -19,0 +19,0 @@ off<K extends keyof Events<P, E>>(name?: K, callback?: Function): void; |
@@ -30,2 +30,3 @@ export declare type VNodeTag = string | ComponentConstructor | ComponentFunction | null; | ||
leave(el: TransitionElement, remove: () => void): void; | ||
show: boolean; | ||
} | ||
@@ -32,0 +33,0 @@ export interface TransitionElement extends HTMLElement { |
{ | ||
"name": "intact-react", | ||
"version": "3.0.0-beta.16", | ||
"version": "3.0.0-beta.17", | ||
"description": "A compatibility layer for running intact component in React@17", | ||
@@ -32,5 +32,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"intact": "^3.0.0-beta.16", | ||
"intact": "^3.0.0-beta.17", | ||
"tslib": "^2.3.1" | ||
} | ||
} |
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
950835
22646
Updatedintact@^3.0.0-beta.17