mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 14:38:20 +08:00
class_ argument is optional in removeLineClass (#16347)
This commit is contained in:
committed by
Mohamed Hegazy
parent
b57178eb88
commit
dd69d6de4e
2
types/codemirror/index.d.ts
vendored
2
types/codemirror/index.d.ts
vendored
@@ -178,7 +178,7 @@ declare namespace CodeMirror {
|
||||
/** Remove a CSS class from a line.line can be a line handle or number.
|
||||
where should be one of "text", "background", or "wrap"(see addLineClass).
|
||||
class can be left off to remove all classes for the specified node, or be a string to remove only a specific class. */
|
||||
removeLineClass(line: any, where: string, class_: string): CodeMirror.LineHandle;
|
||||
removeLineClass(line: any, where: string, class_?: string): CodeMirror.LineHandle;
|
||||
|
||||
/**
|
||||
* Compute the line at the given pixel height.
|
||||
|
||||
Reference in New Issue
Block a user