Skip to content

Commit 0d49c58

Browse files
committed
Fix typings
1 parent 41dade5 commit 0d49c58

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

packages/app/src/sandbox/eval/transpiled-module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ type Compilation = {
141141
id: string;
142142
exports: any;
143143
hot: {
144-
enabled: () => boolean;
145144
accept: Function | ((arg: string | string[], cb: Function) => void);
146145
decline: (path: string | Array<string>) => void;
147146
dispose: (cb: Function) => void;

packages/common/src/types/index.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,15 +401,18 @@ export type Modal = {
401401

402402
export type PackageJSON = {
403403
name: string;
404-
description: string;
405-
keywords: string[];
406-
main: string;
407-
dependencies: {
404+
version: string;
405+
description?: string;
406+
keywords?: string[];
407+
main?: string;
408+
dependencies?: {
408409
[dep: string]: string;
409410
};
410-
devDependencies: {
411+
devDependencies?: {
411412
[dep: string]: string;
412413
};
414+
jest?: object;
415+
resolutions?: { [dependency: string]: string };
413416
};
414417

415418
export type UploadFile = {

0 commit comments

Comments
 (0)