@workos/oagen 0.14.1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7580,6 +7580,10 @@ function setEquals(a, b) {
7580
7580
  function bareTypeName(t) {
7581
7581
  let s = t.trim();
7582
7582
  s = s.replace(/^\*/, "");
7583
+ if (s.startsWith("\\")) {
7584
+ const lastBackslash = s.lastIndexOf("\\");
7585
+ s = s.slice(lastBackslash + 1);
7586
+ }
7583
7587
  s = s.replace(/\s*\|\s*null$/, "").replace(/\?$/, "");
7584
7588
  s = s.replace(/\[\]$/, "");
7585
7589
  const angleGeneric = s.match(/^[A-Za-z_][A-Za-z0-9_.]*<\s*([A-Za-z_*][A-Za-z0-9_.*]*)\s*>$/);