Skip to content

Commit 5815427

Browse files
committed
fix(dialog): dialog importing the wrong path when compiled
1 parent 8174acf commit 5815427

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dialog/dialog.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ import {
1717
merge
1818
} from "rxjs";
1919
import { throttleTime } from "rxjs/operators";
20-
import position from "../utils/position";
20+
// the AbsolutePosition is required to import the declaration correctly
21+
import position, { AbsolutePosition } from "./../utils/position";
2122
import { cycleTabs } from "./../common/tab.service";
2223
import { DialogConfig } from "./dialog-config.interface";
2324

0 commit comments

Comments
 (0)