Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 2, 2019
1 parent 2768e75 commit 407b8a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export type Options = Readonly<{
* @example
*
* {
* interval: 80, // optional
* frames: ['-', '+', '-']
* interval: 80, // Optional
* frames: ['-', '+', '-']
* }
*
*/
Expand Down Expand Up @@ -105,7 +105,7 @@ export function promise(
options?: Options | string
): Ora;

export interface PersistOptions {
export type PersistOptions = Readonly<{
/**
* Symbol to replace the spinner with.
*
Expand All @@ -114,10 +114,10 @@ export interface PersistOptions {
symbol?: string;

/**
* Text to be persisted. Default value: Current text.
* Text to be persisted. Default: Current text.
*/
text?: string;
}
}>;

export interface Ora {
/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"wcwidth": "^1.0.1"
},
"devDependencies": {
"@types/node": "^11.9.5",
"@types/node": "^11.10.4",
"ava": "^1.2.1",
"get-stream": "^4.1.0",
"tsd-check": "^0.3.0",
Expand Down

0 comments on commit 407b8a5

Please sign in to comment.