renovate/lib/types/re2.d.ts
Michael Kriese 8073612d85 feat(versioning): Add regex versioner (#4323)
The regex versioner supports arbitrary, user-defined versioning
methods; it provides building blocks in the way of interacting capture
groups within a user-defined regex which can be combined to support
arbitrary use-cases.

Uses a new `versionConfig` option to configure this scheme -- this
feature is enabled dynamically for any new versioner which includes the
optional `configure?(new_config: string)` interface. Warns if used with
an invalid scheme.
2019-08-22 20:09:23 +02:00

5 lines
72 B
TypeScript

declare module 're2' {
class RE2 extends RegExp {}
export = RE2;
}