Comparing version 1.3.4 to 1.3.5
{ | ||
"name": "axii", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "sskyy <skyking_H@hotmail.com>", |
@@ -36,3 +36,3 @@ import { Atom } from "./common"; | ||
export interface FunctionComponent<P = {}> { | ||
export interface FunctionComponent<P = {}> extends FeatureBase<P> { | ||
(props: Atom.Props<P>): JSX.Element; | ||
@@ -119,4 +119,6 @@ /** | ||
} | ||
export interface Feature<P = {}, S = {}> { | ||
export interface Feature<P = {}, S = {}> extends FeatureBase<P> { | ||
(fragments: Feature.Fragments<Atom.Props<P>, S>): void; | ||
} | ||
interface FeatureBase<P> { | ||
/** | ||
@@ -123,0 +125,0 @@ * 属性声明 |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
332499
7557
0