mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
Update connections.ts
This commit is contained in:
parent
f11e8b7798
commit
4e865d4ada
1 changed files with 7 additions and 0 deletions
|
@ -7,3 +7,10 @@
|
||||||
// This file is for types of the connection items
|
// This file is for types of the connection items
|
||||||
|
|
||||||
type ConnectionUrlLink = `${string & { __brand: "\\$\\{(?:id|name)\\}" }}`;
|
type ConnectionUrlLink = `${string & { __brand: "\\$\\{(?:id|name)\\}" }}`;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// test
|
||||||
|
|
||||||
|
const test: ConnectionUrlLink = "oogabooga${name}";
|
||||||
|
const testFail: ConnectionUrlLink = "oogabooga";
|
Loading…
Reference in a new issue