@types/pretty
Version:
TypeScript definitions for pretty
27 lines (19 loc) • 681 B
Markdown
# Installation
> `npm install --save @types/pretty`
# Summary
This package contains type definitions for pretty (https://github.com/jonschlinkert/pretty).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty/index.d.ts)
````ts
interface PrettyOptions {
ocd: boolean;
}
declare function pretty(str: string, options?: PrettyOptions): string;
export = pretty;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: none
# Credits
These definitions were written by .