Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Sep 22, 2021
1 parent 604b4c2 commit 5ad233e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/generate_types/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,6 @@ class TypesGenerator {
writeFile(path.join(typesDir, 'protocol.d.ts'), fs.readFileSync(path.join(PROJECT_DIR, 'src', 'server', 'chromium', 'protocol.d.ts'), 'utf8'));

const apiDocumentation = parseApi(path.join(PROJECT_DIR, 'docs', 'src', 'api'));
// Root module types are overridden.
// apiDocumentation.classesArray = apiDocumentation.classesArray.filter(cls => cls.name === 'Playwright');
apiDocumentation.index();
const apiTypesGenerator = new TypesGenerator(apiDocumentation);
let apiTypes = await apiTypesGenerator.generateTypes(path.join(__dirname, 'overrides.d.ts'));
Expand Down

0 comments on commit 5ad233e

Please sign in to comment.