docs: add JSDoc to CssSyntaxError class
Add minimal JSDoc documentation to satisfy docstring coverage requirement for the exported CssSyntaxError class.
This commit is contained in:
parent
d9d5ea31f3
commit
53509a8231
1 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,9 @@ export interface ParseOptions {
|
|||
from?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* CSS syntax error with source location information.
|
||||
*/
|
||||
export class CssSyntaxError extends Error {
|
||||
constructor(message: string, source: Source | null, position: number) {
|
||||
if (!source) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue