From df2f906257b763aed07181f053a7ed4781831195 Mon Sep 17 00:00:00 2001 From: Danilo Woznica Date: Tue, 12 Apr 2022 15:30:26 +0100 Subject: [PATCH] fix(custom-setup): add dev-dependencies (#436) --- sandpack-react/src/types.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sandpack-react/src/types.ts b/sandpack-react/src/types.ts index 550f659ed..b5a325629 100644 --- a/sandpack-react/src/types.ts +++ b/sandpack-react/src/types.ts @@ -113,6 +113,16 @@ export interface SandpackSetup { */ dependencies?: Record; + /** + * Examples: + * ```js + * { + * "@types/react": "latest", + * } + * ``` + */ + devDependencies?: Record; + /** * The entry file is the starting point of the bundle process. *