Skip to content

Commit

Permalink
Release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CJY0208 committed Jan 30, 2021
1 parent 51b7f9e commit 4428ab5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 5 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@ export interface AliveController {
export function useAliveController(): AliveController

export declare function withActivation<C extends ComponentType<GetProps<C>>>(component: C): C
export declare function withAliveScope<C extends ComponentType<GetProps<C>>>(component: C): C
export const version: string
export declare function withAliveScope<C extends ComponentType<GetProps<C>>>(component: C): class name {
constructor(parameters) {

}
}
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
} from './core/Bridge/Context'
import withAliveScope, { useAliveController } from './core/withAliveScope'
import NodeKey from './core/NodeKey'
import { version } from '../package.json'

export default KeepAlive
export {
Expand All @@ -23,5 +22,4 @@ export {
withAliveScope,
useAliveController,
NodeKey,
version,
}

0 comments on commit 4428ab5

Please sign in to comment.