mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: remove critical circular dependencies (#8114)
* chore: remove critical circular dependencies * chore: fix tslint errors * chore: remove platform specific types from interfaces * chore: update unit tests polyfills * fix: incorrect null check * chore: update api.md file * test: improve test case * chore: apply comments * test: avoid page style leaks in tests
This commit is contained in:
committed by
Alexander Vakrilov
parent
5b647bd809
commit
0ffc790d82
11
nativescript-core/ui/text-base/text-base-interfaces.ts
Normal file
11
nativescript-core/ui/text-base/text-base-interfaces.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// Types
|
||||
import { TextBase } from "./text-base";
|
||||
|
||||
export interface TextTransformation {
|
||||
new(owner: TextBase): any /* android.text.method.TransformationMethod */;
|
||||
}
|
||||
|
||||
export type WhiteSpace = "initial" | "normal" | "nowrap";
|
||||
export type TextAlignment = "initial" | "left" | "center" | "right";
|
||||
export type TextTransform = "initial" | "none" | "capitalize" | "uppercase" | "lowercase";
|
||||
export type TextDecoration = "none" | "underline" | "line-through" | "underline line-through";
|
||||
Reference in New Issue
Block a user