diff --git a/src/plugins/extraConnectionLinks/connections.ts b/src/plugins/extraConnectionLinks/connections.ts index 29eb950b8..80bd8239e 100644 --- a/src/plugins/extraConnectionLinks/connections.ts +++ b/src/plugins/extraConnectionLinks/connections.ts @@ -6,4 +6,4 @@ // This file is for types of the connection items -type ConnectionUrlLink = `${string & { __regexPattern: /\$\{(?:id|name)\}/ }}`; +type ConnectionUrlLink = `${string & { __brand: "\\$\\{(?:id|name)\\}" }}`;