fix(core): type collisions with namespace (#8809)

This commit is contained in:
Nathan Walker
2021-02-25 21:03:07 -08:00
parent a67fb69687
commit 733050995c
110 changed files with 1882 additions and 1827 deletions

View File

@@ -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 });