mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00

- Use relative imports in place of most of our absolute ones. - Add "private" ambient modules for modules that we need to import using an absolute path (e.g. when app/.../test-something.ts needs to import ui/styling/style-scope)
12 lines
263 B
TypeScript
12 lines
263 B
TypeScript
import common = require("./color-common");
|
|
|
|
export class Color extends common.Color {
|
|
get android(): number {
|
|
return this.argb;
|
|
}
|
|
|
|
public _argbFromString(hex: string): number {
|
|
return android.graphics.Color.parseColor(hex);
|
|
}
|
|
}
|