Skip to content

Commit

Permalink
refactor(regex): add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
secustor committed Nov 6, 2021
1 parent 8f1e389 commit 055288f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/manager/regex/strategies.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { regEx } from '../../util/regex';
import { CustomExtractConfig, PackageDependency } from '../types';
import type { CustomExtractConfig, PackageDependency } from '../types';
import {
createDependency,
mergeExtractionTemplate,
Expand Down
4 changes: 2 additions & 2 deletions lib/manager/regex/utils.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { URL } from 'url';
import { logger } from '../../logger';
import * as template from '../../util/template';
import { CustomExtractConfig, PackageDependency } from '../types';
import { ExtractionTemplate } from './types';
import type { CustomExtractConfig, PackageDependency } from '../types';
import type { ExtractionTemplate } from './types';

export const validMatchFields = [
'depName',
Expand Down

0 comments on commit 055288f

Please sign in to comment.