Skip to content

Commit

Permalink
fix mdn type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
RJWadley committed May 27, 2023
1 parent 0e74110 commit cc1dfdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/mdn/checkPartialSupport.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { formatBrowserName } from '../../utils/util.js';
import { convertMdnSupportToBrowsers } from './convertMdnBrowser.js';

const require = createRequire(import.meta.url);
/** @type {import('@mdn/browser-compat-data').CompatData} */
const bcd = require('@mdn/browser-compat-data');

/* browser compat data is littered with dangleys */
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"useUnknownInCatchVariables": false,
"outDir": "types",
"removeComments": false,
"resolveJsonModule": true
},
"include": ["exports/**/*.js", "lib/**/*.js", "data/**/*.js"],
}
"include": ["exports/**/*.js", "lib/**/*.js", "data/**/*.js"]
}

0 comments on commit cc1dfdd

Please sign in to comment.