Skip to content

Commit 710bb54

Browse files
committed
Fix "Cannot find namespace abp"
1 parent fa3f390 commit 710bb54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reactjs/src/utils/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import * as abpTypings from '../lib/abp';
2+
13
import { L } from '../lib/abpUtility';
24
import { routers } from '../components/Router/router.config';
35

@@ -83,7 +85,7 @@ class Utils {
8385
}
8486
}
8587

86-
getCurrentClockProvider(currentProviderName: string): abp.timing.IClockProvider {
88+
getCurrentClockProvider(currentProviderName: string): abpTypings.timing.IClockProvider {
8789
if (currentProviderName === 'unspecifiedClockProvider') {
8890
return abp.timing.unspecifiedClockProvider;
8991
}

0 commit comments

Comments
 (0)