docs: fix version export (#9049)

* docs: fix version export

* types: assert `[VI]{{inject}}[/VI]` as string

* types: typo

* Revert "types: typo"

This reverts commit ba983f02be.

* types: typo

I hate my local repo. It can't install deps with `--immutable` and a have weird error on `yarn test`, but the CI passes
This commit is contained in:
Synbulat Biishev
2023-01-19 20:56:57 +05:00
committed by GitHub
parent 56ef3ad8a0
commit 8b70f497a1
8 changed files with 10 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ export enum CompressionMethod {
ZlibStream = 'zlib-stream',
}
export const DefaultDeviceProperty = `@discordjs/ws [VI]{{inject}}[/VI]`;
export const DefaultDeviceProperty = `@discordjs/ws [VI]{{inject}}[/VI]` as `@discordjs/ws ${string}`;
const getDefaultSessionStore = lazy(() => new Collection<number, SessionInfo | null>());