From 100ef91a289da83fe98076cb06613393b2ba6481 Mon Sep 17 00:00:00 2001 From: Douglas Armstrong Date: Tue, 15 Sep 2020 11:02:33 -0700 Subject: [PATCH] Fix Typescript typo Summary: Fix typo in Typescript `Readonly<>` modifier Reviewed By: davidmccabe Differential Revision: D23708492 fbshipit-source-id: 13fdb5f1509cb104e764e5930aa2e3aeddf1fe3c --- typescript/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/index.d.ts b/typescript/index.d.ts index 8f354d897..a9318dd0b 100644 --- a/typescript/index.d.ts +++ b/typescript/index.d.ts @@ -205,7 +205,7 @@ export function isRecoilValue(val: unknown): val is RecoilValue; // eslint- // bigint not supported yet type Primitive = undefined | null | boolean | number | symbol | string; -export type SerializableParam = Primitive | ReadonlyArray | ReadOnly<{[key: string]: SerializableParam}>; +export type SerializableParam = Primitive | ReadonlyArray | Readonly<{[key: string]: SerializableParam}>; export interface AtomFamilyOptions { key: NodeKey;