mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: avoid disabling prettier (#6079)
This commit is contained in:
parent
381b0f833c
commit
1ee379ce4d
@ -36,19 +36,29 @@ export interface ConsoleMessageLocation {
|
|||||||
columnNumber?: number;
|
columnNumber?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prettier seems to struggle with the ConsoleMessageType declaration
|
|
||||||
// so it is switched off just for that block.
|
|
||||||
/* eslint-disable prettier/prettier */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The supported types for console messages.
|
* The supported types for console messages.
|
||||||
*/
|
*/
|
||||||
export type ConsoleMessageType = 'log' | 'debug' | 'info' | 'error' | 'warning' |
|
export type ConsoleMessageType =
|
||||||
'dir' | 'dirxml' | 'table' | 'trace' | 'clear' | 'startGroup' |
|
| 'log'
|
||||||
'startGroupCollapsed' | 'endGroup' | 'assert' | 'profile' |
|
| 'debug'
|
||||||
'profileEnd' | 'count' | 'timeEnd' | 'verbose';
|
| 'info'
|
||||||
|
| 'error'
|
||||||
/* eslint-enable prettier/prettier */
|
| 'warning'
|
||||||
|
| 'dir'
|
||||||
|
| 'dirxml'
|
||||||
|
| 'table'
|
||||||
|
| 'trace'
|
||||||
|
| 'clear'
|
||||||
|
| 'startGroup'
|
||||||
|
| 'startGroupCollapsed'
|
||||||
|
| 'endGroup'
|
||||||
|
| 'assert'
|
||||||
|
| 'profile'
|
||||||
|
| 'profileEnd'
|
||||||
|
| 'count'
|
||||||
|
| 'timeEnd'
|
||||||
|
| 'verbose';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ConsoleMessage objects are dispatched by page via the 'console' event.
|
* ConsoleMessage objects are dispatched by page via the 'console' event.
|
||||||
|
Loading…
Reference in New Issue
Block a user