# Class RecoilValueReadOnly<T>

#### Type Parameters

- T

#### Hierarchy

- AbstractRecoilValueReadonly<T>
  - RecoilValueReadOnly

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:397

#####
Index

### Constructors

constructor

### Properties

__tag
key

### Methods

toJSON

## Constructors

### constructor

- new RecoilValueReadOnly<T>(newKey): RecoilValueReadOnly<T>

- #### Type Parameters

  - T

  #### Parameters

  - newKey: string

  #### Returns RecoilValueReadOnly<T>

  Inherited from AbstractRecoilValueReadonly<T>.constructor

  - Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:392

## Properties

### __tag

__tag: [T]

Inherited from AbstractRecoilValueReadonly.__tag

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:389

### key

key: string

Inherited from AbstractRecoilValueReadonly.key

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:391

## Methods

### toJSON

- toJSON(): {
  key: string;
  }

- #### Returns {
  key: string;
  }

  - ##### key: string

  Inherited from AbstractRecoilValueReadonly.toJSON

  - Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:393