Skip to content

Commit 8a345d3

Browse files
christianalfoniCompuIves
authored andcommitted
expose common types on types package (codesandbox#1822)
1 parent aa8d894 commit 8a345d3

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

packages/app/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"esModuleInterop": true,
66
"baseUrl": "./",
77
"paths": {
8+
"types": ["../common/src/types/index"],
89
"app/*": ["./src/app/*"],
910
"embed/*": ["./src/embed/*"],
1011
"sandbox/*": ["./src/sandbox/*"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { TemplateType } from './templates';
2+
import { TemplateType } from '../templates';
33

44
export type ModuleError = {
55
message: string;

0 commit comments

Comments
 (0)