Skip to content

Commit

Permalink
revert(lint): relax noImplicitAny
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Jul 6, 2023
1 parent 6a12ce1 commit b11a133
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/update-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ for (const [featureId, packedFeature] of Object.entries(caniuse.features)) {
// Some keys are extraneous

const databaseEntry = (featureId in caniuseDb.data)
// @ts-expect-error Skip cast
? caniuseDb.data[featureId]
: null;

Expand Down Expand Up @@ -157,7 +156,6 @@ await Promise.all(
const fileContent = await fs.readFile(filepath, 'utf8');

const { title } = unpackFeature(caniuse.features[name]);
// @ts-expect-error Can't cast JSON type
const category = caniuseDb.data[name]?.categories.join(', ');

if (fileContent.includes(' * TODO: initially implement ')
Expand Down Expand Up @@ -191,7 +189,6 @@ await Promise.all(
const filename = `${featureId}.css`;

if (allTests.has(filename)) return;
// @ts-expect-error Can't cast JSON type
const fullData = caniuseDb.data[featureId];
const { title } = unpackFeature(caniuse.features[featureId]);
const stubOptions = {
Expand Down

0 comments on commit b11a133

Please sign in to comment.