Add docs comments and tests for TypeScript definitions (#299)
Fixes #293
This commit is contained in:
parent
f590a65489
commit
90c7a92ff1
9 changed files with 438 additions and 169 deletions
|
|
@ -50,7 +50,7 @@ function parseStyle(style) {
|
|||
let matches;
|
||||
|
||||
while ((matches = STYLE_REGEX.exec(style)) !== null) {
|
||||
const name = matches[1];
|
||||
const name = matches[1]; // eslint-disable-line prefer-destructuring
|
||||
|
||||
if (matches[2]) {
|
||||
const args = parseArguments(name, matches[2]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue