Open History to see the last commit
1---
2id: BaseAtom
3title: BaseAtom
4---
5β
6Defined in: node\_modules/.pnpm/@tanstack+store@0.11.0/node\_modules/@tanstack/store/dist/types.d.ts:22
7β
8## Extends
9β
10- [`Subscribable`](Subscribable.md)\<`T`\>.[`Readable`](Readable.md)\<`T`\>
11β
12## Extended by
13β
14- [`Atom`](Atom.md)
15- [`ReadonlyAtom`](ReadonlyAtom.md)
16β
17## Type Parameters
18β
19### T
20β
21`T`
22β
23## Properties
24β
25### get
26β
27```ts
28get: () => T;
29```
30β
31Defined in: node\_modules/.pnpm/@tanstack+store@0.11.0/node\_modules/@tanstack/store/dist/types.d.ts:20
32β
33#### Returns
34β
35`T`
36β
37#### Inherited from
38β
39[`Readable`](Readable.md).[`get`](Readable.md#get)
40β
41***
42β
43### subscribe
44β
45```ts
46subscribe: (observer) => Subscription & (next, error?, complete?) => Subscription;
47```
48β
49Defined in: node\_modules/.pnpm/@tanstack+store@0.11.0/node\_modules/@tanstack/store/dist/types.d.ts:17
50β
51#### Inherited from
52β
53[`Subscribable`](Subscribable.md).[`subscribe`](Subscribable.md#subscribe)