Skip to content

Commit

Permalink
Fix tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Dec 14, 2022
1 parent 5aa3f34 commit dbb6561
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
5 changes: 0 additions & 5 deletions packages/snaps-ui/tsconfig.build.json
Expand Up @@ -11,10 +11,5 @@
"./src/**/test-utils",
"./src/**/__mocks__",
"./src/**/__snapshots__"
],
"references": [
{
"path": "../snaps-utils/tsconfig.build.json"
}
]
}
3 changes: 1 addition & 2 deletions packages/snaps-ui/tsconfig.json
Expand Up @@ -3,6 +3,5 @@
"compilerOptions": {
"baseUrl": "./"
},
"include": ["./src"],
"references": [{ "path": "../snaps-utils" }]
"include": ["./src"]
}
2 changes: 1 addition & 1 deletion packages/snaps-utils/src/handlers.ts
@@ -1,6 +1,6 @@
import type { StreamProvider } from '@metamask/providers';
import { Json, JsonRpcRequest } from '@metamask/utils';
import { Component } from '@metamask/snaps-ui';
import { Json, JsonRpcRequest } from '@metamask/utils';

import { AccountId, ChainId, RequestArguments } from './namespace';

Expand Down
5 changes: 5 additions & 0 deletions packages/snaps-utils/tsconfig.build.json
Expand Up @@ -11,5 +11,10 @@
"./src/**/test-utils",
"./src/**/__mocks__",
"./src/**/__snapshots__"
],
"references": [
{
"path": "../snaps-ui/tsconfig.build.json"
}
]
}
3 changes: 2 additions & 1 deletion packages/snaps-utils/tsconfig.json
Expand Up @@ -3,5 +3,6 @@
"compilerOptions": {
"baseUrl": "./"
},
"include": ["./src"]
"include": ["./src"],
"references": [{ "path": "../snaps-ui" }]
}

0 comments on commit dbb6561

Please sign in to comment.