Skip to content

Commit

Permalink
Fix ESLint/TypeScript issues (#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Jan 12, 2024
1 parent 2eb196a commit 901ef96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add-new-bcd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const main = async (paths: string[], verbose = false): Promise<void> => {
{addNewFeatures: true},
bcd.browsers,
overrides,
null,
undefined,
verbose,
);

Expand Down
5 changes: 5 additions & 0 deletions test-builder/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

import {getCustomTest, compileTest} from "./common.js";

/**
* Remap the CSS property values from Webref into usable map entries
* @param input - The value from Webref
* @returns A two-value array to add to a map, or null if no test should be created for the value
*/
const remapCSSPropertyValue = (input) => {
const typeRemappings = {
"<string>": ["type_string", "'foo'"],
Expand Down

0 comments on commit 901ef96

Please sign in to comment.