@types/inquirer
Advanced tools
Comparing version 8.1.2 to 8.1.3
import ScreenManager = require('./screen-manager'); | ||
interface PaginatorOptions { | ||
/** | ||
* Whether or not to loop the content. | ||
*/ | ||
isInfinite: boolean; | ||
} | ||
/** | ||
@@ -28,3 +35,3 @@ * Provides the functionality to draw paginated content using a `ScreenManager`. | ||
*/ | ||
constructor(screenManager: ScreenManager); | ||
constructor(screenManager: ScreenManager, options?: PaginatorOptions); | ||
@@ -40,8 +47,11 @@ /** | ||
* | ||
* @param pageSize | ||
* The number of lines to display at a time. | ||
* | ||
* @returns | ||
* The paginated content. | ||
*/ | ||
paginate(content: string, selectedIndex: number): string; | ||
paginate(content: string, selectedIndex: number, pageSize?: number): string; | ||
} | ||
export = Paginator; |
{ | ||
"name": "@types/inquirer", | ||
"version": "8.1.2", | ||
"version": "8.1.3", | ||
"description": "TypeScript definitions for inquirer", | ||
@@ -76,4 +76,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inquirer", | ||
}, | ||
"typesPublisherContentHash": "0c74efcbf3ccfd225352fb1c327f54b7a4d7fc61f503342ad5966425aff9c8b0", | ||
"typesPublisherContentHash": "141c6403676ac4af9dae73d9c4537a4d3ad2903ac41a0d0a313fb32f8a95f95e", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 21 Sep 2021 18:31:39 GMT | ||
* Last updated: Tue, 28 Sep 2021 06:01:20 GMT | ||
* Dependencies: [@types/rxjs](https://npmjs.com/package/@types/rxjs), [@types/through](https://npmjs.com/package/@types/through) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71999
2416