Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

NonUndefinedGuard.md

18 lines361 Bytes

1---
2id: NonUndefinedGuard
3title: NonUndefinedGuard
4---
5​
6# Type Alias: NonUndefinedGuard\<T\>
7​
8```ts
9type NonUndefinedGuard<T>: T extends undefined ? never : T;
10```
11​
12## Type Parameters
13​
14β€’ **T**
15​
16## Defined in
17​
18[types.ts:316](https://github.com/TanStack/query/blob/27861961bbb36e9bc25fcd45cff21b5645f02f9b/packages/angular-query-experimental/src/types.ts#L316)