# WithScope

`type` in `plugin-oauth` · v0.1.0

<https://seedcord.org/docs/packages/plugin-oauth/0.1.0/types/with-scope>

## Declaration

```ts
type WithScope<
    TScopes extends OAuthScope,
    TWanted extends OAuthScope,
    TOptions
> =
    IsNever<Extract<TScopes, TWanted>> extends true
        ? unknown
        : TOptions;
```
