decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

pattern can be RegExp

Open shadow-light opened this issue 1 year ago • 3 comments

Summary

Correct type for pattern property

Checklist

  • [x] I have read the contribution guidelines.

shadow-light avatar Jun 06 '23 00:06 shadow-light

Deploy Preview for decap-www ready!

Name Link
Latest commit 339a4abf8424070b9a05acf85307185405e0cbe3
Latest deploy log https://app.netlify.com/sites/decap-www/deploys/647e7ced5ebcc5000779842b
Deploy Preview https://deploy-preview-6794--decap-www.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Jun 06 '23 00:06 netlify[bot]

@shadow-light can you please solve the merge conflict? It appeared because packages and folders were renamed.

Also, what is the motivation behind this PR? Where did this cause a problem?

martinjagodic avatar Aug 23 '23 07:08 martinjagodic

this looks correct, but there are many other places where pattern is either string or Regex, they should probably all be string | RegExp

xaiki avatar Oct 04 '23 15:10 xaiki