6 lines
157 B
TypeScript
6 lines
157 B
TypeScript
import * as re2 from "re2"
|
|
|
|
type Re2 = typeof re2 & {code: string}
|
|
;(re2 as Re2).code = 'require("ajv/dist/runtime/re2").default'
|
|
|
|
export default re2 as Re2
|