mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(core): type collisions with namespace (#8809)
This commit is contained in:
@@ -4,7 +4,7 @@ import { Trace } from '@nativescript/core';
|
||||
import { Color } from '@nativescript/core/color';
|
||||
import { NavigationEntry, NavigationTransition } from '@nativescript/core/ui/frame';
|
||||
import { Page } from '@nativescript/core/ui/page';
|
||||
import { AnimationCurve } from '@nativescript/core/ui/enums';
|
||||
import { Enums } from '@nativescript/core';
|
||||
import { CustomTransition } from './custom-transition';
|
||||
|
||||
function _testTransition(navigationTransition: NavigationTransition) {
|
||||
@@ -51,7 +51,7 @@ export function test_Transitions() {
|
||||
|
||||
// Built-in transitions
|
||||
transitions.forEach((name) => {
|
||||
_testTransition({ name, duration: 20, curve: AnimationCurve.easeIn });
|
||||
_testTransition({ name, duration: 20, curve: Enums.AnimationCurve.easeIn });
|
||||
});
|
||||
|
||||
// helper.navigateWithEntry({ create: mainPageFactory, clearHistory: true, animated: false });
|
||||
|
||||
Reference in New Issue
Block a user