Files
NativeScript/unit-tests/common-types.d.ts
Panayot Cankov f7a3a36b9c Housekeeping node tests, renamed to unit-tests (#4936)
Add parsers for the background css shorthand property, make ViewBase unit testable in node environment

Add background parser and linear-gradient parser

Use sticky regexes

Simplify some types, introduce generic Parsed<T> instead of & TokenRange

Apply each parser to return a { start, end, value } object

Move the css selector parser to the css/parser and unify types

Add the first steps toward building homegrown css parser

Add somewhat standards compliant tokenizer, add baseline, rework and shady css parsers

Enable all tests again, skip flaky perf test

Improve css parser tokenizer by converting some char token types to simple string

Implement 'parse a stylesheet'

Add gonzales css-parser

Add parseLib and css-tree perf

Add a thin parser layer that will convert CSS3 tokens to values, for now output is compatible with rework

Make root tsc green

Return the requires of tns-core-modules to use relative paths for webpack to work

Implement support for '@import 'url-string';

Fix function parser, function-token is no-longer neglected

Make the style-scope be able to load from "css" and "css-ast" modules

Add a loadAppCss event so theme can be added to snapshot separately from loaded
2017-10-20 10:42:07 +03:00

33 lines
830 B
TypeScript

declare var UIColor, PHAsset, NSSearchPathDirectory;
declare type UIColor = any;
declare type PHAsset = any;
declare namespace android {
export namespace content {
export type Context = any;
export var Context: any;
}
export namespace view {
export type MotionEvent = any;
export var MotionEvent: any;
}
export namespace util {
export var Base64: any;
export var Log: any;
}
export namespace graphics.Bitmap.CompressFormat {
export var PNG: any;
export var android: any;
}
}
declare namespace org.nativescript.widgets {
export var ViewHelper: any;
}
declare namespace org.nativescript.widgets.Async.Http {
export type RequestResult = any;
export var RequestResult: any;
}
declare type java = any;
declare var java: any;