Skip to content

Commit

Permalink
fix: saveScrollPosition 参数类型修正
Browse files Browse the repository at this point in the history
  • Loading branch information
CJY0208 authored Nov 23, 2020
1 parent 48e1078 commit cb32172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface KeepAliveProps {
name?: string
id?: string
when?: boolean | Array<boolean> | (() => boolean | Array<boolean>)
saveScrollPosition?: boolean | 'screen'
saveScrollPosition?: boolean | string
}

export declare class KeepAlive extends Component<KeepAliveProps> {}
Expand Down

0 comments on commit cb32172

Please sign in to comment.